ReactOS
0.4.12-dev-714-gfaac916
|
Go to the source code of this file.
Functions | |
PMMPTE FORCEINLINE | _MiAddressToPte (PVOID Address) |
PMMPTE FORCEINLINE | _MiAddressToPde (PVOID Address) |
PMMPTE FORCEINLINE | MiAddressToPpe (PVOID Address) |
PMMPTE FORCEINLINE | MiAddressToPxe (PVOID Address) |
ULONG FORCEINLINE | MiAddressToPti (PVOID Address) |
ULONG FORCEINLINE | MiAddressToPdi (PVOID Address) |
ULONG FORCEINLINE | MiAddressToPxi (PVOID Address) |
PVOID FORCEINLINE | MiPteToAddress (PMMPTE PointerPte) |
PVOID FORCEINLINE | MiPdeToAddress (PMMPTE PointerPde) |
PVOID FORCEINLINE | MiPpeToAddress (PMMPTE PointerPpe) |
PVOID FORCEINLINE | 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) |
INIT_FUNCTION VOID FORCEINLINE | MmInitGlobalKernelPageDirectory (VOID) |
BOOLEAN FORCEINLINE | 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 ValidKernelPpe ValidKernelPde |
PMMPTE FORCEINLINE _MiAddressToPde | ( | PVOID | Address | ) |
Definition at line 140 of file mm.h.
PMMPTE FORCEINLINE _MiAddressToPte | ( | PVOID | Address | ) |
Definition at line 129 of file mm.h.
FORCEINLINE BOOLEAN MI_IS_MAPPED_PTE | ( | PMMPTE | PointerPte | ) |
FIXME
Definition at line 286 of file mm.h.
Referenced by MiDeleteVirtualAddresses().
Definition at line 272 of file mm.h.
Referenced by MiAddMappedPtes(), and MmArmInitSystem().
ULONG FORCEINLINE MiAddressToPdi | ( | PVOID | Address | ) |
PMMPTE FORCEINLINE MiAddressToPpe | ( | PVOID | Address | ) |
Definition at line 151 of file mm.h.
Referenced by MiBuildPagedPool(), MiBuildPfnDatabaseFromPageTables(), MiGetPteForProcess(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiMapPPEs(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmGetPhysicalAddress(), MmIsAddressValid(), and MmProbeAndLockPages().
ULONG FORCEINLINE MiAddressToPti | ( | PVOID | Address | ) |
PMMPTE FORCEINLINE MiAddressToPxe | ( | PVOID | Address | ) |
Definition at line 161 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), MiGetPteForProcess(), MiInitializePageTable(), MiIsPdeForAddressValid(), MiLockVirtualMemory(), MiQueryAddressState(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmArmInitSystem(), MmCreateProcessAddressSpace(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmIsAddressValid(), and MmProbeAndLockPages().
ULONG FORCEINLINE MiAddressToPxi | ( | PVOID | Address | ) |
BOOLEAN FORCEINLINE MiIsPdeForAddressValid | ( | PVOID | Address | ) |
Definition at line 303 of file mm.h.
PVOID FORCEINLINE MiPdeToAddress | ( | PMMPTE | PointerPde | ) |
Definition at line 207 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), and MiQueryAddressState().
PVOID FORCEINLINE MiPpeToAddress | ( | PMMPTE | PointerPpe | ) |
Definition at line 216 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), and MiQueryAddressState().
PVOID FORCEINLINE MiPteToAddress | ( | PMMPTE | PointerPte | ) |
Definition at line 198 of file mm.h.
Referenced by 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(), MmCreateKernelStack(), MmCreateProcessAddressSpace(), MmExpandSpecialPool(), MmFreeLoaderBlock(), MmGrowKernelStackEx(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), MmProbeAndLockPages(), and NtAllocateVirtualMemory().
PVOID FORCEINLINE MiPxeToAddress | ( | PMMPTE | PointerPxe | ) |
Definition at line 225 of file mm.h.
Referenced by MiBuildPfnDatabaseFromPageTables(), and MiQueryAddressState().
INIT_FUNCTION VOID FORCEINLINE MmInitGlobalKernelPageDirectory | ( | VOID | ) |
Definition at line 296 of file mm.h.
Referenced by MmInitSystem().