ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
#define MI_DUMMY_PTE (MI_MAPPING_RANGE_END + PAGE_SIZE) |
#define MI_IS_INSTRUCTION_FETCH | ( | FaultCode | ) | BooleanFlagOn(FaultCode, 0x00000010) |
#define MI_IS_NOT_PRESENT_FAULT | ( | FaultCode | ) | !BooleanFlagOn(FaultCode, 0x00000001) |
#define MI_IS_WRITE_ACCESS | ( | FaultCode | ) | BooleanFlagOn(FaultCode, 0x00000002) |
#define MI_MAPPING_RANGE_END (MI_MAPPING_RANGE_START + MI_HYPERSPACE_PTES * PAGE_SIZE) |
#define MI_MAPPING_RANGE_START HYPER_SPACE |
#define MI_MIN_PAGES_FOR_NONPAGED_POOL_TUNING ((255 * _1MB) >> PAGE_SHIFT) |
#define MI_MIN_PAGES_FOR_SYSPTE_BOOST ((32 * _1MB) >> PAGE_SHIFT) |
#define MI_MIN_PAGES_FOR_SYSPTE_BOOST_BOOST ((256 * _1MB) >> PAGE_SHIFT) |
#define MI_MIN_PAGES_FOR_SYSPTE_TUNING ((19 * _1MB) >> PAGE_SHIFT) |
#define MI_SESSION_SIZE |
#define MI_SYSTEM_PTE_BASE (PVOID)MiAddressToPte(KSEG0_BASE) |
#define MI_VAD_BITMAP (MI_DUMMY_PTE + PAGE_SIZE) |
#define MI_WORKING_SET_LIST (MI_VAD_BITMAP + PAGE_SIZE) |
#define MI_WRITE_VALID_PPE MI_WRITE_VALID_PTE |
#define MiIsPteOnPpeBoundary | ( | PointerPte | ) | ((((ULONG_PTR)PointerPte) & (PDE_PER_PAGE * PAGE_SIZE - 1)) == 0) |
#define MiIsPteOnPxeBoundary | ( | PointerPte | ) | ((((ULONG_PTR)PointerPte) & (PPE_PER_PAGE * PDE_PER_PAGE * PAGE_SIZE - 1)) == 0) |
#define MM_HIGHEST_VAD_ADDRESS (PVOID)((ULONG_PTR)MM_HIGHEST_USER_ADDRESS - (16 * PAGE_SIZE)) |
#define MmSystemRangeStart ((PVOID)MI_REAL_SYSTEM_RANGE_START) |
#define PDE_MAPPED_VA (PTE_PER_PAGE * PAGE_SIZE) |
#define ValidKernelPpe ValidKernelPde |
FORCEINLINE PMMPTE _MiAddressToPde | ( | PVOID | Address | ) |
FORCEINLINE PMMPTE _MiAddressToPte | ( | PVOID | Address | ) |
FORCEINLINE BOOLEAN MI_IS_MAPPED_PTE | ( | PMMPTE | PointerPte | ) |
Definition at line 356 of file mm.h.
Referenced by MiDeleteVirtualAddresses().
Definition at line 342 of file mm.h.
Referenced by MiAddMappedPtes(), and MmArmInitSystem().
Definition at line 328 of file mm.h.
Referenced by MmArmInitSystem().
FORCEINLINE ULONG MiAddressToPdi | ( | PVOID | Address | ) |
FORCEINLINE PMMPTE MiAddressToPpe | ( | PVOID | Address | ) |
Definition at line 161 of file mm.h.
Referenced by MiBuildPagedPool(), MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiIsPageTablePresent(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiMapPPEs(), MiPteToPxe(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmIsAddressValid(), and MmProbeAndLockPages().
FORCEINLINE ULONG MiAddressToPti | ( | PVOID | Address | ) |
FORCEINLINE PMMPTE MiAddressToPxe | ( | PVOID | Address | ) |
Definition at line 171 of file mm.h.
Referenced by MiArchCreateProcessAddressSpace(), MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), MiInitializePageTable(), MiInitMachineDependent(), MiIsPageTablePresent(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmIsAddressValid(), and MmProbeAndLockPages().
FORCEINLINE ULONG MiAddressToPxi | ( | PVOID | Address | ) |
FORCEINLINE BOOLEAN MiIsPdeForAddressValid | ( | PVOID | Address | ) |
Definition at line 366 of file mm.h.
Referenced by _Success_(), MmGetPageProtect(), MmIsDisabledPage(), and MmIsPagePresent().
FORCEINLINE PVOID MiPdeToAddress | ( | PMMPTE | PointerPde | ) |
FORCEINLINE PMMPDE MiPdeToPpe | ( | PMMPDE | PointerPde | ) |
Definition at line 292 of file mm.h.
Referenced by MiDeletePde(), MiFillSystemPageDirectory(), and MiMakePdeExistAndMakeValid().
FORCEINLINE PMMPTE MiPdeToPte | ( | PMMPDE | PointerPde | ) |
FORCEINLINE PMMPXE MiPdeToPxe | ( | PMMPDE | PointerPde | ) |
Definition at line 300 of file mm.h.
Referenced by MiDeletePde(), and MiMakePdeExistAndMakeValid().
FORCEINLINE PVOID MiPpeToAddress | ( | PMMPTE | PointerPpe | ) |
Definition at line 226 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), MiPxeToPte(), and MiQueryAddressState().
FORCEINLINE PMMPTE MiPpeToPte | ( | PMMPPE | PointerPpe | ) |
Definition at line 252 of file mm.h.
Referenced by MiCalculatePageCommitment(), and MiIsEntireRangeCommitted().
FORCEINLINE PVOID MiPteToAddress | ( | PMMPTE | PointerPte | ) |
FORCEINLINE PMMPDE MiPteToPde | ( | PMMPTE | PointerPte | ) |
FORCEINLINE PMMPPE MiPteToPpe | ( | PMMPTE | PointerPte | ) |
Definition at line 276 of file mm.h.
Referenced by MiCalculatePageCommitment(), and MiIsEntireRangeCommitted().
FORCEINLINE PMMPXE MiPteToPxe | ( | PMMPTE | PointerPte | ) |
Definition at line 284 of file mm.h.
Referenced by MiCalculatePageCommitment(), and MiIsEntireRangeCommitted().
FORCEINLINE PVOID MiPxeToAddress | ( | PMMPTE | PointerPxe | ) |
Definition at line 235 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), and MiQueryAddressState().
FORCEINLINE PMMPTE MiPxeToPte | ( | PMMPXE | PointerPxe | ) |
Definition at line 260 of file mm.h.
Referenced by MiCalculatePageCommitment(), and MiIsEntireRangeCommitted().