ReactOS
0.4.15-dev-1623-g66cf1d2
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MODULE_INVOLVED_IN_ARM3 |
#define | MI_MAPPED_COPY_PAGES 14 |
#define | MI_POOL_COPY_BYTES 512 |
#define | MI_MAX_TRANSFER_SIZE 64 * 1024 |
FORCEINLINE BOOLEAN MI_IS_LOCKED_VA | ( | PMMPFN | Pfn1, |
ULONG | LockType | ||
) |
Definition at line 3192 of file virtual.c.
Referenced by MiLockVirtualMemory(), and MiUnlockVirtualMemory().
FORCEINLINE VOID MI_LOCK_VA | ( | PMMPFN | Pfn1, |
ULONG | LockType | ||
) |
Definition at line 3209 of file virtual.c.
Referenced by MiLockVirtualMemory().
FORCEINLINE VOID MI_UNLOCK_VA | ( | PMMPFN | Pfn1, |
ULONG | LockType | ||
) |
Definition at line 3230 of file virtual.c.
Referenced by MiUnlockVirtualMemory().
ULONG NTAPI MiCalculatePageCommitment | ( | IN ULONG_PTR | StartingAddress, |
IN ULONG_PTR | EndingAddress, | ||
IN PMMVAD | Vad, | ||
IN PEPROCESS | Process | ||
) |
Definition at line 42 of file virtual.c.
Referenced by NtFreeVirtualMemory().
|
static |
FIXME: this might be a memory area for a section view...
Definition at line 3251 of file virtual.c.
Referenced by MiLockVirtualMemory(), and MiUnlockVirtualMemory().
ULONG NTAPI MiDecommitPages | ( | IN PVOID | StartingAddress, |
IN PMMPTE | EndingPte, | ||
IN PEPROCESS | Process, | ||
IN PMMVAD | Vad | ||
) |
Definition at line 2542 of file virtual.c.
Referenced by NtFreeVirtualMemory().
VOID NTAPI MiDeletePte | ( | IN PMMPTE | PointerPte, |
IN PVOID | VirtualAddress, | ||
IN PEPROCESS | CurrentProcess, | ||
IN PMMPTE | PrototypePte | ||
) |
Definition at line 391 of file virtual.c.
Referenced by MiBalancerThread(), MiDeleteVirtualAddresses(), MiResolveProtoPteFault(), MiUnmapLockedPagesInUserSpace(), MmArmAccessFault(), MmDeleteProcessAddressSpace(), and MmFreeMemoryArea().
PFN_COUNT NTAPI MiDeleteSystemPageableVm | ( | IN PMMPTE | PointerPte, |
IN PFN_NUMBER | PageCount, | ||
IN ULONG | Flags, | ||
OUT PPFN_NUMBER | ValidPages | ||
) |
Definition at line 297 of file virtual.c.
Referenced by MiFreeInitializationCode(), MiFreePoolPages(), MmFreeDriverInitialization(), and MmFreeSpecialPool().
Definition at line 540 of file virtual.c.
Referenced by MiRemoveMappedView(), MmCleanProcessAddressSpace(), MmDeleteTeb(), and NtFreeVirtualMemory().
NTSTATUS NTAPI MiDoMappedCopy | ( | IN PEPROCESS | SourceProcess, |
IN PVOID | SourceAddress, | ||
IN PEPROCESS | TargetProcess, | ||
OUT PVOID | TargetAddress, | ||
IN SIZE_T | BufferSize, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
OUT PSIZE_T | ReturnSize | ||
) |
Definition at line 806 of file virtual.c.
Referenced by MmCopyVirtualMemory().
NTSTATUS NTAPI MiDoPoolCopy | ( | IN PEPROCESS | SourceProcess, |
IN PVOID | SourceAddress, | ||
IN PEPROCESS | TargetProcess, | ||
OUT PVOID | TargetAddress, | ||
IN SIZE_T | BufferSize, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
OUT PSIZE_T | ReturnSize | ||
) |
Definition at line 1031 of file virtual.c.
Referenced by MmCopyVirtualMemory().
VOID NTAPI MiFlushTbAndCapture | ( | IN PMMVAD | FoundVad, |
IN PMMPTE | PointerPte, | ||
IN ULONG | ProtectionMask, | ||
IN PMMPFN | Pfn1, | ||
IN BOOLEAN | CaptureDirtyBit | ||
) |
Definition at line 1979 of file section.c.
Referenced by MiProtectVirtualMemory(), and MiSetProtectionOnSection().
LONG MiGetExceptionInfo | ( | IN PEXCEPTION_POINTERS | ExceptionInfo, |
OUT PBOOLEAN | HaveBadAddress, | ||
OUT PULONG_PTR | BadAddress | ||
) |
Definition at line 761 of file virtual.c.
Referenced by MiDoMappedCopy(), and MiDoPoolCopy().
Definition at line 1369 of file virtual.c.
Referenced by MiProtectVirtualMemory(), MiQueryAddressState(), MiSetProtectionOnSection(), and NtAllocateVirtualMemory().
BOOLEAN NTAPI MiIsEntireRangeCommitted | ( | IN ULONG_PTR | StartingAddress, |
IN ULONG_PTR | EndingAddress, | ||
IN PMMVAD | Vad, | ||
IN PEPROCESS | Process | ||
) |
Definition at line 2016 of file virtual.c.
Referenced by MiProtectVirtualMemory().
|
static |
Definition at line 3296 of file virtual.c.
Referenced by NtLockVirtualMemory(), and RunTest().
VOID NTAPI MiMakePdeExistAndMakeValid | ( | IN PMMPDE | PointerPde, |
IN PEPROCESS | TargetProcess, | ||
IN KIRQL | OldIrql | ||
) |
Definition at line 2411 of file virtual.c.
Referenced by MiDecommitPages(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MiSetProtectionOnSection(), and NtAllocateVirtualMemory().
ULONG NTAPI MiMakeSystemAddressValid | ( | IN PVOID | PageTableVirtualAddress, |
IN PEPROCESS | CurrentProcess | ||
) |
Definition at line 205 of file virtual.c.
Referenced by MiCalculatePageCommitment(), MiDeleteVirtualAddresses(), MiIsEntireRangeCommitted(), MiMakePdeExistAndMakeValid(), and MiQueryAddressState().
Definition at line 257 of file virtual.c.
Referenced by MiGetPageProtection(), and MiSegmentDelete().
Definition at line 2490 of file virtual.c.
Referenced by MiDecommitPages().
NTSTATUS NTAPI MiProtectVirtualMemory | ( | IN PEPROCESS | Process, |
IN OUT PVOID * | BaseAddress, | ||
IN OUT PSIZE_T | NumberOfBytesToProtect, | ||
IN ULONG | NewAccessProtection, | ||
OUT PULONG OldAccessProtection | OPTIONAL | ||
) |
Definition at line 2132 of file virtual.c.
Referenced by CcPreparePinWrite(), CcpUnpinData(), NtAllocateVirtualMemory(), and NtProtectVirtualMemory().
ULONG NTAPI MiQueryAddressState | ( | IN PVOID | Va, |
IN PMMVAD | Vad, | ||
IN PEPROCESS | TargetProcess, | ||
OUT PULONG | ReturnedProtect, | ||
OUT PVOID * | NextVa | ||
) |
Definition at line 1484 of file virtual.c.
Referenced by MiQueryMemoryBasicInformation().
NTSTATUS NTAPI MiQueryMemoryBasicInformation | ( | IN HANDLE | ProcessHandle, |
IN PVOID | BaseAddress, | ||
OUT PVOID | MemoryInformation, | ||
IN SIZE_T | MemoryInformationLength, | ||
OUT PSIZE_T | ReturnLength | ||
) |
Definition at line 1675 of file virtual.c.
Referenced by NtQueryVirtualMemory().
NTSTATUS NTAPI MiRosProtectVirtualMemory | ( | IN PEPROCESS | Process, |
IN OUT PVOID * | BaseAddress, | ||
IN OUT PSIZE_T | NumberOfBytesToProtect, | ||
IN ULONG | NewAccessProtection, | ||
OUT PULONG OldAccessProtection | OPTIONAL | ||
) |
Definition at line 2092 of file virtual.c.
Referenced by MiProtectVirtualMemory().