mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[NTOS]: Fix copy/paste error.
svn path=/trunk/; revision=49037
This commit is contained in:
@@ -373,9 +373,6 @@ MmInsertMemoryArea(
|
||||
Vad = ExAllocatePoolWithTag(NonPagedPool, sizeof(MMVAD), 'Fake');
|
||||
ASSERT(Vad);
|
||||
RtlZeroMemory(Vad, sizeof(MMVAD));
|
||||
EndingAddress = (((ULONG_PTR)PBaseAddress + PRegionSize - 1) | (PAGE_SIZE - 1));
|
||||
StartingAddress = (ULONG_PTR)PAGE_ALIGN(PBaseAddress);
|
||||
|
||||
Vad->StartingVpn = PAGE_ROUND_DOWN(marea->StartingAddress) >> PAGE_SHIFT;
|
||||
/*
|
||||
* For some strange reason, it is perfectly valid to create a MAREA from 0x1000 to... 0x1000.
|
||||
|
||||
Reference in New Issue
Block a user