|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Functions | |||||||||||||
| PMEMORY_AREA NTAPI | MmLocateMemoryAreaByAddress (PMMSUPPORT AddressSpace, PVOID Address) | ||||||||||||
| PMEMORY_AREA NTAPI | MmLocateMemoryAreaByRegion (PMMSUPPORT AddressSpace, PVOID Address_, ULONG_PTR Length) | ||||||||||||
| BOOLEAN NTAPI | MmIsAddressRangeFree (_In_ PMMSUPPORT AddressSpace, _In_ PVOID Address, _In_ ULONG_PTR Length) | ||||||||||||
| VOID NTAPI | MiInsertVad (IN PMMVAD Vad, IN PMM_AVL_TABLE VadRoot) | ||||||||||||
| ULONG NTAPI | MiMakeProtectionMask (IN ULONG Protect) | ||||||||||||
| static VOID | MmInsertMemoryArea (PMMSUPPORT AddressSpace, PMEMORY_AREA marea, ULONG Protect) | ||||||||||||
| PVOID NTAPI | MmFindGap (PMMSUPPORT AddressSpace, ULONG_PTR Length, ULONG_PTR Granularity, BOOLEAN TopDown) | ||||||||||||
| VOID NTAPI | MiRemoveNode (IN PMMADDRESS_NODE Node, IN PMM_AVL_TABLE Table) | ||||||||||||
MmFreeMemoryArea | |||||||||||||
Free an existing memory area.
| |||||||||||||
| NTSTATUS NTAPI | MmFreeMemoryArea (PMMSUPPORT AddressSpace, PMEMORY_AREA MemoryArea, PMM_FREE_PAGE_FUNC FreePage, PVOID FreePageContext) | ||||||||||||
MmCreateMemoryArea | |||||||||||||
Create a memory area.
| |||||||||||||
| NTSTATUS NTAPI | MmCreateMemoryArea (PMMSUPPORT AddressSpace, ULONG Type, PVOID *BaseAddress, ULONG_PTR Length, ULONG Protect, PMEMORY_AREA *Result, ULONG AllocationFlags, ULONG Granularity) | ||||||||||||
| VOID NTAPI | MiRosCleanupMemoryArea (PEPROCESS Process, PMMVAD Vad) | ||||||||||||
Variables | |
| MEMORY_AREA | MiStaticMemoryAreas [MI_STATIC_MEMORY_AREAS] |
| ULONG | MiStaticMemoryAreaCount |
| MM_AVL_TABLE | MiRosKernelVadRoot |
| BOOLEAN | MiRosKernelVadRootInitialized |
Definition at line 222 of file vadnode.c.
Referenced by MmInsertMemoryArea().
Definition at line 140 of file section.c.
Referenced by MiIsProtectionCompatible(), MmCreateArm3Section(), MmCreateSection(), MmInsertMemoryArea(), MmMapViewOfArm3Section(), and NtMapViewOfSection().
| VOID NTAPI MiRemoveNode | ( | IN PMMADDRESS_NODE | Node, |
| IN PMM_AVL_TABLE | Table | ||
| ) |
Definition at line 403 of file vadnode.c.
Referenced by MmFreeMemoryArea().
Definition at line 493 of file marea.c.
Referenced by MmCleanProcessAddressSpace().
| NTSTATUS NTAPI MmCreateMemoryArea | ( | PMMSUPPORT | AddressSpace, |
| ULONG | Type, | ||
| PVOID * | BaseAddress, | ||
| ULONG_PTR | Length, | ||
| ULONG | Protect, | ||
| PMEMORY_AREA * | Result, | ||
| ULONG | AllocationFlags, | ||
| ULONG | Granularity | ||
| ) |
Definition at line 379 of file marea.c.
Referenced by MiCreateArm3StaticMemoryArea(), and MmMapViewOfSegment().
| PVOID NTAPI MmFindGap | ( | PMMSUPPORT | AddressSpace, |
| ULONG_PTR | Length, | ||
| ULONG_PTR | Granularity, | ||
| BOOLEAN | TopDown | ||
| ) |
Definition at line 190 of file marea.c.
Referenced by MmCreateMemoryArea(), and MmMapViewOfSection().
| NTSTATUS NTAPI MmFreeMemoryArea | ( | PMMSUPPORT | AddressSpace, |
| PMEMORY_AREA | MemoryArea, | ||
| PMM_FREE_PAGE_FUNC | FreePage, | ||
| PVOID | FreePageContext | ||
| ) |
Definition at line 258 of file marea.c.
Referenced by MmUnmapViewOfSegment().
|
static |
Definition at line 144 of file marea.c.
Referenced by MmCreateMemoryArea().
| BOOLEAN NTAPI MmIsAddressRangeFree | ( | _In_ PMMSUPPORT | AddressSpace, |
| _In_ PVOID | Address, | ||
| _In_ ULONG_PTR | Length | ||
| ) |
Definition at line 111 of file marea.c.
Referenced by MmCreateMemoryArea(), and MmMapViewOfSection().
| PMEMORY_AREA NTAPI MmLocateMemoryAreaByAddress | ( | PMMSUPPORT | AddressSpace, |
| PVOID | Address | ||
| ) |
Definition at line 61 of file marea.c.
Referenced by MmAlterViewAttributes(), MmNotPresentFault(), MmpAccessFault(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), and MmUnmapViewOfSegment().
| PMEMORY_AREA NTAPI MmLocateMemoryAreaByRegion | ( | PMMSUPPORT | AddressSpace, |
| PVOID | Address_, | ||
| ULONG_PTR | Length | ||
| ) |
Definition at line 71 of file marea.c.
Referenced by MmLocateMemoryAreaByAddress().
| MM_AVL_TABLE MiRosKernelVadRoot |
Definition at line 54 of file marea.c.
Referenced by MmAccessFault(), MmFindGap(), MmFreeMemoryArea(), MmInsertMemoryArea(), MmIsAddressRangeFree(), and MmLocateMemoryAreaByRegion().
| BOOLEAN MiRosKernelVadRootInitialized |
Definition at line 55 of file marea.c.
Referenced by MmInsertMemoryArea().
| ULONG MiStaticMemoryAreaCount |
Definition at line 52 of file marea.c.
Referenced by MmCreateMemoryArea().
| MEMORY_AREA MiStaticMemoryAreas[MI_STATIC_MEMORY_AREAS] |
Definition at line 51 of file marea.c.
Referenced by MmCreateMemoryArea().