Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The MmAddPhysicalMemory function adds a range of physical memory to the system.
Syntax
NTSTATUS MmAddPhysicalMemory(
[in] PPHYSICAL_ADDRESS StartAddress,
[in] PLARGE_INTEGER NumberOfBytes
);
Parameters
[in] StartAddress
Supplies the starting physical address of the range to be added.
[in] NumberOfBytes
Supplies the size, in bytes, of the memory range to be added.
Return value
Returns an NTSTATUS code.
Remarks
Memory added by MmAddPhysicalMemory can be immediately used to satisfy memory allocations from arbitrary threads.
Requirements
| Requirement | Value |
|---|---|
| Header | ntddk.h |
| IRQL | <= APC_LEVEL |
| DDI compliance rules | HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm) |