ReactOS 0.4.16-dev-109-gf4cb10f
|
Go to the source code of this file.
Macros | |
#define | PTE_BASE 0xC0000000 |
#define | MiAddressToPte(x) ((PMMPTE)(((((ULONG)(x)) >> 12) << 2) + (ULONG_PTR)MmPteBase)) |
#define | MiAddressToPde(x) ((PMMPDE)(((((ULONG)(x)) >> 22) << 2) + (ULONG_PTR)MmPdeBase)) |
#define | MiAddressToPteOffset(x) ((((ULONG)(x)) << 10) >> 22) |
#define | MiAddressToPdeOffset(x) (((ULONG)(x)) / (1024 * PAGE_SIZE)) |
Definition at line 57 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), MmDefpTranslateVirtualAddress(), and MmMapPhysicalAddress().
NTSTATUS MmArchInitialize | ( | _In_ ULONG | Phase, |
_In_ PBL_MEMORY_DATA | MemoryData, | ||
_In_ BL_TRANSLATION_TYPE | TranslationType, | ||
_In_ BL_TRANSLATION_TYPE | RequestedTranslationType | ||
) |
Definition at line 1028 of file mmx86.c.
Definition at line 67 of file mmx86.c.
Referenced by MmArchInitialize().
BOOLEAN MmArchTranslateVirtualAddress | ( | _In_ PVOID | VirtualAddress, |
_Out_opt_ PPHYSICAL_ADDRESS | PhysicalAddress, | ||
_Out_opt_ PULONG | CachingFlags | ||
) |
Definition at line 108 of file mmx86.c.
Referenced by MmMapPhysicalAddress().
NTSTATUS MmDefInitializeTranslation | ( | _In_ PBL_MEMORY_DATA | MemoryData, |
_In_ BL_TRANSLATION_TYPE | TranslationType | ||
) |
Definition at line 857 of file mmx86.c.
Referenced by MmArchInitialize().
NTSTATUS MmDefMoveVirtualAddressRange | ( | _In_ PVOID | DestinationAddress, |
_In_ PVOID | SourceAddress, | ||
_In_ ULONGLONG | Size | ||
) |
Definition at line 87 of file mmx86.c.
Referenced by MmArchInitialize().
Definition at line 150 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
Definition at line 167 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
Definition at line 158 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
NTSTATUS MmDefpMapPhysicalAddress | ( | _In_ PHYSICAL_ADDRESS | PhysicalAddress, |
_In_ PVOID | VirtualAddress, | ||
_In_ ULONG | Size, | ||
_In_ ULONG | CacheAttributes | ||
) |
Definition at line 198 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
NTSTATUS MmDefpRemapVirtualAddress | ( | _In_ PPHYSICAL_ADDRESS | PhysicalAddress, |
_Out_ PVOID | VirtualAddress, | ||
_In_ ULONG | Size, | ||
_In_ ULONG | CacheAttributes | ||
) |
Definition at line 186 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
BOOLEAN MmDefpTranslateVirtualAddress | ( | _In_ PVOID | VirtualAddress, |
_Out_ PPHYSICAL_ADDRESS | PhysicalAddress, | ||
_Out_opt_ PULONG | CacheAttributes | ||
) |
Definition at line 350 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
Definition at line 176 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
Definition at line 98 of file mmx86.c.
Referenced by MmArchInitialize().
NTSTATUS MmMapPhysicalAddress | ( | _Inout_ PPHYSICAL_ADDRESS | PhysicalAddressPtr, |
_Inout_ PVOID * | VirtualAddressPtr, | ||
_Inout_ PULONGLONG | SizePtr, | ||
_In_ ULONG | CacheAttributes | ||
) |
Definition at line 428 of file mmx86.c.
Referenced by Mmx86MapInitStructure().
VOID MmMdDbgDumpList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | DescriptorList, |
_In_opt_ ULONG | MaxCount | ||
) |
Definition at line 579 of file mmx86.c.
NTSTATUS Mmx86InitializeMemoryMap | ( | _In_ ULONG | Phase, |
_In_ PBL_MEMORY_DATA | MemoryData | ||
) |
Definition at line 784 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
NTSTATUS Mmx86MapInitStructure | ( | _In_ PVOID | VirtualAddress, |
_In_ ULONGLONG | Size, | ||
_In_ PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 541 of file mmx86.c.
Referenced by Mmx86InitializeMemoryMap(), and Mmx86pMapMemoryRegions().
NTSTATUS Mmx86pMapMemoryRegions | ( | _In_ ULONG | Phase, |
_In_ PBL_MEMORY_DATA | MemoryData | ||
) |
Definition at line 631 of file mmx86.c.
Referenced by MmArchInitialize(), and Mmx86InitializeMemoryMap().
PBL_MM_FLUSH_TLB BlMmFlushTlb |
Definition at line 48 of file mmx86.c.
Referenced by MmArchInitialize().
PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE BlMmMoveVirtualAddressRange |
Definition at line 49 of file mmx86.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
PBL_MM_RELOCATE_SELF_MAP BlMmRelocateSelfMap |
Definition at line 47 of file mmx86.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE BlMmZeroVirtualAddressRange |
Definition at line 50 of file mmx86.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
BL_ADDRESS_RANGE MmArchKsegAddressRange |
Definition at line 29 of file mmx86.c.
Referenced by MmArchInitialize().
ULONG_PTR MmArchKsegBase |
Definition at line 26 of file mmx86.c.
Referenced by MmArchInitialize().
ULONG_PTR MmArchKsegBias |
Definition at line 27 of file mmx86.c.
Referenced by MmArchInitialize().
ULONG MmArchLargePageSize |
Definition at line 28 of file mmx86.c.
Referenced by MmArchInitialize().
PULONG MmArchReferencePage |
Definition at line 34 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), and Mmx86InitializeMemoryMap().
ULONG MmArchReferencePageSize |
Definition at line 37 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), and Mmx86InitializeMemoryMap().
ULONG_PTR MmArchTopOfApplicationAddressSpace |
Definition at line 30 of file mmx86.c.
Referenced by MmArchInitialize().
ULONG MmDeferredMappingCount |
Definition at line 32 of file mmx86.c.
Referenced by Mmx86pMapMemoryRegions().
PVOID MmPdeBase |
Definition at line 36 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
PMMPTE MmPdpt |
Definition at line 33 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), and MmDefpTranslateVirtualAddress().
PVOID MmPteBase |
Definition at line 35 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), and MmDefRelocateSelfMap().
PBL_MM_DESTROY_SELF_MAP Mmx86DestroySelfMap |
Definition at line 45 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
PBL_MM_FLUSH_TLB Mmx86FlushTlb |
Definition at line 43 of file mmx86.c.
Referenced by MmArchInitialize(), MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), and MmMapPhysicalAddress().
PBL_MM_FLUSH_TLB_ENTRY Mmx86FlushTlbEntry |
Definition at line 44 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), and MmDefpMapPhysicalAddress().
PBL_MM_MAP_PHYSICAL_ADDRESS Mmx86MapPhysicalAddress |
Definition at line 40 of file mmx86.c.
Referenced by MmDefInitializeTranslation(), and MmMapPhysicalAddress().
PBL_MM_REMAP_VIRTUAL_ADDRESS Mmx86RemapVirtualAddress |
Definition at line 41 of file mmx86.c.
Referenced by MmDefInitializeTranslation().
PHYSICAL_ADDRESS Mmx86SelfMapBase |
Definition at line 31 of file mmx86.c.
Referenced by MmArchInitialize(), MmDefInitializeTranslation(), and Mmx86pMapMemoryRegions().
PBL_MM_TRANSLATE_VIRTUAL_ADDRESS Mmx86TranslateVirtualAddress |
Definition at line 39 of file mmx86.c.
Referenced by MmArchTranslateVirtualAddress(), MmDefInitializeTranslation(), and MmDefpMapPhysicalAddress().
PBL_MM_UNMAP_VIRTUAL_ADDRESS Mmx86UnmapVirtualAddress |
Definition at line 42 of file mmx86.c.
Referenced by MmDefInitializeTranslation().