ReactOS 0.4.16-dev-329-g9223134
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Variables | |
static ULONG | MmGlobalKernelPageDirectory [1024] |
static ULONGLONG | MmGlobalKernelPageDirectoryForPAE [2048] |
BOOLEAN | Ke386Pae |
BOOLEAN | Ke386NoExecute |
#define IS_HYPERSPACE | ( | v | ) | (((ULONG)(v) >= HYPERSPACE && (ULONG)(v) < HYPERSPACE + 0x400000)) |
#define PA_ACCESSED (1 << PA_BIT_ACCESSED) |
#define PA_DIRTY (1 << PA_BIT_DIRTY) |
#define PA_GLOBAL (1 << PA_BIT_GLOBAL) |
#define PA_PRESENT (1 << PA_BIT_PRESENT) |
#define PA_READWRITE (1 << PA_BIT_READWRITE) |
#define PA_USER (1 << PA_BIT_USER) |
#define PAE_PTE_TO_PFN | ( | X | ) | (PAE_PAGE_MASK(X) >> PAGE_SHIFT) |
Definition at line 81 of file pagepae.c.
Referenced by MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafe(), MmDeletePageFileMapping(), MmDeleteVirtualMapping(), MmFreePageTable(), MmSetCleanPage(), MmSetDirtyPage(), and MmSetPageProtect().
Definition at line 63 of file pagepae.c.
Referenced by MiFlushTlb().
Definition at line 1058 of file pagepae.c.
BOOLEAN NTAPI MmCreateProcessAddressSpace | ( | IN ULONG | MinWs, |
IN PEPROCESS | Process, | ||
IN PLARGE_INTEGER | DirectoryTableBase | ||
) |
Definition at line 178 of file pagepae.c.
NTSTATUS NTAPI MmCreateVirtualMapping | ( | PEPROCESS | Process, |
PVOID | Address, | ||
ULONG | flProtect, | ||
PPFN_NUMBER | Pages, | ||
ULONG | PageCount | ||
) |
Definition at line 1352 of file pagepae.c.
NTSTATUS NTAPI MmCreateVirtualMappingUnsafe | ( | PEPROCESS | Process, |
PVOID | Address, | ||
ULONG | flProtect, | ||
PPFN_NUMBER | Pages, | ||
ULONG | PageCount | ||
) |
Definition at line 1146 of file pagepae.c.
Referenced by MmCreateVirtualMapping().
Definition at line 747 of file pagepae.c.
VOID NTAPI MmDeleteVirtualMapping | ( | PEPROCESS | Process, |
PVOID | Address, | ||
BOOLEAN * | WasDirty, | ||
PPFN_NUMBER | Page | ||
) |
Definition at line 613 of file pagepae.c.
Definition at line 258 of file pagepae.c.
Referenced by MmDeletePageFileMapping(), and MmDeleteVirtualMapping().
Definition at line 568 of file pagepae.c.
Referenced by MmGetPageProtect(), MmGetPfnForProcess(), MmIsDirtyPage(), MmIsPagePresent(), and MmIsPageSwapEntry().
Definition at line 553 of file pagepae.c.
Referenced by MmGetPageProtect(), MmGetPfnForProcess(), MmIsDirtyPage(), MmIsPagePresent(), and MmIsPageSwapEntry().
Definition at line 1378 of file pagepae.c.
Definition at line 435 of file pagepae.c.
Referenced by MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafe(), MmDeletePageFileMapping(), MmDeleteVirtualMapping(), MmGetPageEntryForProcess(), Mmi386MakeKernelPageTableGlobal(), MmSetCleanPage(), MmSetDirtyPage(), and MmSetPageProtect().
|
static |
Definition at line 321 of file pagepae.c.
Referenced by MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafe(), MmDeletePageFileMapping(), MmDeleteVirtualMapping(), MmGetPageEntryForProcessForPAE(), Mmi386MakeKernelPageTableGlobal(), MmSetCleanPage(), MmSetDirtyPage(), and MmSetPageProtect().
PFN_NUMBER NTAPI MmGetPfnForProcess | ( | PEPROCESS | Process, |
PVOID | Address | ||
) |
Definition at line 844 of file pagepae.c.
Referenced by MmAccessFault().
Definition at line 1494 of file pagepae.c.
Referenced by MmInitSystem().
Definition at line 900 of file pagepae.c.
Definition at line 965 of file pagepae.c.
Definition at line 1424 of file pagepae.c.
Definition at line 530 of file pagepae.c.
Referenced by MiFlushTlb(), MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafe(), MmGetPageEntryForProcess(), MmGetPageEntryForProcessForPAE(), MmSetCleanPage(), and MmSetDirtyPage().
Definition at line 105 of file pagepae.c.
Referenced by MmCreateVirtualMappingUnsafe(), and MmSetPageProtect().
|
extern |
Definition at line 36 of file cpu.c.
Referenced by ProtectToPTE().
|
extern |
Definition at line 35 of file cpu.c.
Referenced by MmCreatePageFileMapping(), MmCreateProcessAddressSpace(), MmCreateVirtualMappingUnsafe(), MmDeletePageFileMapping(), MmDeleteVirtualMapping(), MmFreePageTable(), MmGetPageProtect(), MmGetPfnForProcess(), Mmi386MakeKernelPageTableGlobal(), MmInitGlobalKernelPageDirectory(), MmIsDirtyPage(), MmIsPagePresent(), MmIsPageSwapEntry(), MmSetCleanPage(), MmSetDirtyPage(), MmSetPageProtect(), and MmUnmapPageTable().
|
static |
Definition at line 42 of file pagepae.c.
Referenced by MmCreateProcessAddressSpace(), MmGetPageTableForProcess(), and MmInitGlobalKernelPageDirectory().
|
static |
Definition at line 43 of file pagepae.c.
Referenced by MmCreateProcessAddressSpace(), MmGetPageTableForProcessForPAE(), and MmInitGlobalKernelPageDirectory().