ReactOS 0.4.16-dev-91-g764881a
|
#include "bl.h"
Go to the source code of this file.
NTSTATUS MmMdAddDescriptorToList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 582 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmFwGetMemoryMap(), MmMdCopyList(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPaInitialize(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReleaseSelfMapPages(), and MmTrInitialize().
NTSTATUS MmMdCopyList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | DestinationList, |
_In_ PBL_MEMORY_DESCRIPTOR_LIST | SourceList, | ||
_In_opt_ PBL_MEMORY_DESCRIPTOR | ListDescriptor, | ||
_Out_ PULONG | ActualCount, | ||
_In_ ULONG | Count, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 249 of file descriptor.c.
Referenced by BlMmGetMemoryMap().
ULONG MmMdCountList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList | ) |
Definition at line 205 of file descriptor.c.
Referenced by BlMmGetMemoryMap().
PBL_MEMORY_DESCRIPTOR MmMdFindDescriptor | ( | _In_ ULONG | WhichList, |
_In_ ULONG | Flags, | ||
_In_ ULONGLONG | Page | ||
) |
Definition at line 1049 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmArchTranslateVirtualAddress(), MmPapFreePhysicalPages(), and MmPaReleaseSelfMapPages().
PBL_MEMORY_DESCRIPTOR MmMdFindDescriptorFromMdl | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ ULONG | Flags, | ||
_In_ ULONGLONG | Page | ||
) |
Definition at line 960 of file descriptor.c.
Referenced by MmFwGetMemoryMap(), and MmMdFindDescriptor().
BOOLEAN MmMdFindSatisfyingRegion | ( | _In_ PBL_MEMORY_DESCRIPTOR | Descriptor, |
_Out_ PBL_MEMORY_DESCRIPTOR | NewDescriptor, | ||
_In_ ULONGLONG | Pages, | ||
_In_ PBL_ADDRESS_RANGE | BaseRange, | ||
_In_ PBL_ADDRESS_RANGE | VirtualRange, | ||
_In_ BOOLEAN | TopDown, | ||
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ ULONG | Flags, | ||
_In_ ULONG | Alignment | ||
) |
Definition at line 1158 of file descriptor.c.
Referenced by MmPapAllocateRegionFromMdl().
NTSTATUS MmMdFreeDescriptor | ( | _In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor | ) |
Definition at line 157 of file descriptor.c.
Referenced by MmFwGetMemoryMap(), MmMdFreeList(), MmMdRemoveRegionFromMdlEx(), MmPapAllocateRegionFromMdl(), and Mmx86pMapMemoryRegions().
Definition at line 1332 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), BlMmUnmapVirtualAddressEx(), BlpMmInitialize(), MmMdCopyList(), MmPapAllocatePagesInRange(), MmPapAllocatePhysicalPagesInRange(), MmPaReserveSelfMapPages(), MmPaTruncateMemory(), and TrpGenerateMappingTracker().
VOID MmMdFreeList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList | ) |
Definition at line 356 of file descriptor.c.
Referenced by BlMmGetMemoryMap(), MmFwGetMemoryMap(), and MmMdRemoveRegionFromMdlEx().
PBL_MEMORY_DESCRIPTOR MmMdInitByteGranularDescriptor | ( | _In_ ULONG | Flags, |
_In_ BL_MEMORY_TYPE | Type, | ||
_In_ ULONGLONG | BasePage, | ||
_In_ ULONGLONG | VirtualPage, | ||
_In_ ULONGLONG | PageCount | ||
) |
Definition at line 377 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmFwGetMemoryMap(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPaInitialize(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReleaseSelfMapPages(), MmTrInitialize(), and TrpGenerateMappingTracker().
VOID MmMdInitialize | ( | _In_ ULONG | Phase, |
_In_ PBL_LIBRARY_PARAMETERS | LibraryParameters | ||
) |
Definition at line 1384 of file descriptor.c.
Referenced by BlpMmInitialize().
VOID MmMdInitializeList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ ULONG | Type, | ||
_In_ PLIST_ENTRY | ListHead | ||
) |
Definition at line 222 of file descriptor.c.
Referenced by BlMmGetMemoryMap(), and MmMdRemoveRegionFromMdlEx().
BOOLEAN MmMdpCoalesceDescriptor | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 528 of file descriptor.c.
Referenced by MmMdAddDescriptorToList().
BOOLEAN MmMdpHasPrecedence | ( | _In_ BL_MEMORY_TYPE | Type1, |
_In_ BL_MEMORY_TYPE | Type2 | ||
) |
Definition at line 64 of file descriptor.c.
Referenced by MmMdAddDescriptorToList().
LONG MmMdpLookupTypePrecedenceIndex | ( | _In_ BL_MEMORY_TYPE | Type | ) |
Definition at line 41 of file descriptor.c.
Referenced by MmMdpHasPrecedence().
VOID MmMdpSaveCurrentListPointer | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PLIST_ENTRY | Current | ||
) |
Definition at line 185 of file descriptor.c.
Referenced by MmMdAddDescriptorToList(), and MmMdRemoveDescriptorFromList().
Definition at line 148 of file descriptor.c.
Referenced by MmMdInitialize().
BOOLEAN MmMdpTruncateDescriptor | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 486 of file descriptor.c.
Referenced by MmMdAddDescriptorToList().
VOID MmMdRemoveDescriptorFromList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | Entry | ||
) |
Definition at line 338 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmMdFreeList(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), and Mmx86pMapMemoryRegions().
NTSTATUS MmMdRemoveRegionFromMdlEx | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ ULONG | Flags, | ||
_In_ ULONGLONG | BasePage, | ||
_In_ ULONGLONG | PageCount, | ||
_Out_opt_ PBL_MEMORY_DESCRIPTOR_LIST | NewMdList | ||
) |
Definition at line 692 of file descriptor.c.
NTSTATUS MmMdTruncateDescriptors | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR_LIST | NewList, | ||
_In_ ULONGLONG | BasePage | ||
) |
Definition at line 410 of file descriptor.c.
Referenced by MmPaTruncateMemory().
ULONG MmDynamicMemoryDescriptorCount |
Definition at line 20 of file descriptor.c.
Referenced by MmMdFreeDescriptor().
PBL_MEMORY_DESCRIPTOR MmDynamicMemoryDescriptors |
Definition at line 19 of file descriptor.c.
Referenced by MmMdFreeDescriptor().
ULONG MmGlobalMemoryDescriptorCount |
Definition at line 16 of file descriptor.c.
Referenced by MmMdCopyList(), MmMdInitByteGranularDescriptor(), MmMdInitialize(), and MmMdpSaveCurrentListPointer().
PBL_MEMORY_DESCRIPTOR MmGlobalMemoryDescriptors |
Definition at line 17 of file descriptor.c.
Referenced by MmMdCopyList(), MmMdFreeGlobalDescriptors(), MmMdInitByteGranularDescriptor(), MmMdInitialize(), and MmMdpSaveCurrentListPointer().
ULONG MmGlobalMemoryDescriptorsUsed |
Definition at line 18 of file descriptor.c.
Referenced by MmMdCopyList(), MmMdFreeGlobalDescriptors(), MmMdInitByteGranularDescriptor(), and MmMdInitialize().
BL_MEMORY_TYPE MmPlatformMemoryTypePrecedence[] |
Definition at line 22 of file descriptor.c.
Referenced by MmMdpLookupTypePrecedenceIndex().
BL_MEMORY_DESCRIPTOR MmStaticMemoryDescriptors[512] |
Definition at line 15 of file descriptor.c.
Referenced by MmMdFreeDescriptor(), and MmMdInitialize().