ReactOS 0.4.16-dev-36-g301675c
|
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) | ||||||||||||
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 259 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 440 of file vadnode.c.
Referenced by MmFreeMemoryArea().
Definition at line 521 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 410 of file marea.c.
Referenced by MiCreateArm3StaticMemoryArea(), MiInsertNode(), and MmMapViewOfSegment().
PVOID NTAPI MmFindGap | ( | PMMSUPPORT | AddressSpace, |
ULONG_PTR | Length, | ||
ULONG_PTR | Granularity, | ||
BOOLEAN | TopDown | ||
) |
Definition at line 215 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 283 of file marea.c.
Referenced by MiRemoveNode(), and MmUnmapViewOfSegment().
|
static |
Definition at line 166 of file marea.c.
Referenced by MmCreateMemoryArea().
PMEMORY_AREA NTAPI MmLocateMemoryAreaByAddress | ( | PMMSUPPORT | AddressSpace, |
PVOID | Address_ | ||
) |
Definition at line 60 of file marea.c.
Referenced by MiProtectVirtualMemory(), MiQueryMemoryBasicInformation(), MiRosProtectVirtualMemory(), MiRosUnmapViewOfSection(), MiUnmapViewOfSection(), MmAccessFault(), MmAlterViewAttributes(), MmArePagesResident(), MmMakePagesDirty(), MmNotPresentFault(), MmpAccessFault(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), MmUnmapViewOfSegment(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
PMEMORY_AREA NTAPI MmLocateMemoryAreaByRegion | ( | PMMSUPPORT | AddressSpace, |
PVOID | Address_, | ||
ULONG_PTR | Length | ||
) |
Definition at line 106 of file marea.c.
Referenced by MmCreateMemoryArea(), and MmMapViewOfSection().
MM_AVL_TABLE MiRosKernelVadRoot |
Definition at line 54 of file marea.c.
Referenced by MmFindGap(), MmFreeMemoryArea(), MmInsertMemoryArea(), MmLocateMemoryAreaByAddress(), 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().