mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
[NTOS]: Fix copy/paste error.
svn path=/trunk/; revision=49037
This commit is contained in:
parent
28db1e4106
commit
5d9bbfb9db
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue