ReactOS
0.4.15-dev-2155-g06f57e1
|
Go to the source code of this file.
Functions | |
FORCEINLINE PMMPTE | _MiAddressToPte (PVOID Address) |
FORCEINLINE PMMPTE | _MiAddressToPde (PVOID Address) |
FORCEINLINE PMMPTE | MiAddressToPpe (PVOID Address) |
FORCEINLINE PMMPTE | MiAddressToPxe (PVOID Address) |
FORCEINLINE ULONG | MiAddressToPti (PVOID Address) |
FORCEINLINE ULONG | MiAddressToPdi (PVOID Address) |
FORCEINLINE ULONG | MiAddressToPxi (PVOID Address) |
FORCEINLINE PVOID | MiPteToAddress (PMMPTE PointerPte) |
FORCEINLINE PVOID | MiPdeToAddress (PMMPTE PointerPde) |
FORCEINLINE PVOID | MiPpeToAddress (PMMPTE PointerPpe) |
FORCEINLINE PVOID | MiPxeToAddress (PMMPTE PointerPxe) |
FORCEINLINE VOID | MI_MAKE_SUBSECTION_PTE (_Out_ PMMPTE NewPte, _In_ PVOID Segment) |
FORCEINLINE VOID | MI_MAKE_PROTOTYPE_PTE (IN PMMPTE NewPte, IN PMMPTE PointerPte) |
FORCEINLINE BOOLEAN | MI_IS_MAPPED_PTE (PMMPTE PointerPte) |
FORCEINLINE VOID | MmInitGlobalKernelPageDirectory (VOID) |
FORCEINLINE BOOLEAN | MiIsPdeForAddressValid (PVOID Address) |
#define MI_DUMMY_PTE (MI_MAPPING_RANGE_END + PAGE_SIZE) |
#define MI_IS_INSTRUCTION_FETCH | ( | FaultCode | ) | BooleanFlagOn(FaultCode, 0x10) |
#define MI_IS_NOT_PRESENT_FAULT | ( | FaultCode | ) | !BooleanFlagOn(FaultCode, 0x1) |
#define MI_IS_WRITE_ACCESS | ( | FaultCode | ) | BooleanFlagOn(FaultCode, 0x2) |
#define MI_MAPPING_RANGE_END (MI_MAPPING_RANGE_START + MI_HYPERSPACE_PTES * PAGE_SIZE) |
#define MI_MAPPING_RANGE_START HYPER_SPACE |
#define MI_MAX_INIT_NONPAGED_POOL_SIZE (128ULL * 1024 * 1024 * 1024) |
#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 MiPdeToPpe | ( | _Pde | ) | ((PMMPPE)MiAddressToPte(_Pde)) |
#define MiPdeToPte | ( | _Pde | ) | ((PMMPTE)MiPteToAddress(_Pde)) |
#define MiPteToPde | ( | _Pte | ) | ((PMMPDE)MiAddressToPte(_Pte)) |
#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 | ) |
Definition at line 143 of file mm.h.
FORCEINLINE PMMPTE _MiAddressToPte | ( | PVOID | Address | ) |
Definition at line 132 of file mm.h.
FORCEINLINE BOOLEAN MI_IS_MAPPED_PTE | ( | PMMPTE | PointerPte | ) |
Definition at line 290 of file mm.h.
Referenced by MiDeleteVirtualAddresses().
FORCEINLINE ULONG MiAddressToPdi | ( | PVOID | Address | ) |
FORCEINLINE PMMPTE MiAddressToPpe | ( | PVOID | Address | ) |
Definition at line 154 of file mm.h.
Referenced by MiBuildPagedPool(), MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), MiGetPteForProcess(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiMapPPEs(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmIsAddressValid(), and MmProbeAndLockPages().
FORCEINLINE ULONG MiAddressToPti | ( | PVOID | Address | ) |
FORCEINLINE PMMPTE MiAddressToPxe | ( | PVOID | Address | ) |
Definition at line 164 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), MiGetPteForProcess(), MiInitializePageTable(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmCreateProcessAddressSpace(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmIsAddressValid(), and MmProbeAndLockPages().
FORCEINLINE ULONG MiAddressToPxi | ( | PVOID | Address | ) |
FORCEINLINE BOOLEAN MiIsPdeForAddressValid | ( | PVOID | Address | ) |
Definition at line 307 of file mm.h.
FORCEINLINE PVOID MiPdeToAddress | ( | PMMPTE | PointerPde | ) |
Definition at line 210 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), and MiQueryAddressState().
FORCEINLINE PVOID MiPpeToAddress | ( | PMMPTE | PointerPpe | ) |
Definition at line 219 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), and MiQueryAddressState().
FORCEINLINE PVOID MiPteToAddress | ( | PMMPTE | PointerPte | ) |
Definition at line 201 of file mm.h.
Referenced by MI_WRITE_VALID_PTE(), MiAllocatePoolPages(), MiBuildPagedPool(), MiCalculatePageCommitment(), MiCheckForContiguousMemory(), MiCopyPfn(), MiDbgTranslatePhysicalAddress(), MiDbgUnTranslatePhysicalAddress(), MiDeleteVirtualAddresses(), MiFreePoolPages(), MiGetPageProtection(), MiInitializeColorTables(), MiInitializePageTable(), MiInitializePfn(), MiInitializePfnAndMakePteValid(), MiInitializeSpecialPool(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiLoadImageSection(), MiLockVirtualMemory(), MiMakePdeExistAndMakeValid(), MiMapPageInHyperSpace(), MiMapPagesInZeroSpace(), MiMapPDEs(), MiMapPfnDatabase(), MiMapPPEs(), MiMapPTEs(), MiProtectVirtualMemory(), MiReloadBootLoadedDrivers(), MiSessionCreateInternal(), MiSetPagingOfDriver(), MiSetProtectionOnSection(), MiSetupPfnForPageTable(), MiUnmapLockedPagesInUserSpace(), MiZeroPfn(), MmAllocateNonCachedMemory(), MmAllocateSpecialPool(), MmChangeKernelResourceSectionProtection(), MmCreateKernelStack(), MmCreateProcessAddressSpace(), MmExpandSpecialPool(), MmFreeLoaderBlock(), MmGrowKernelStackEx(), MmMakeKernelResourceSectionWritable(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), MmProbeAndLockPages(), and NtAllocateVirtualMemory().
FORCEINLINE PVOID MiPxeToAddress | ( | PMMPTE | PointerPxe | ) |
Definition at line 228 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiDeleteVirtualAddresses(), and MiQueryAddressState().
FORCEINLINE VOID MmInitGlobalKernelPageDirectory | ( | VOID | ) |
Definition at line 300 of file mm.h.
Referenced by MmInitSystem().