mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- Do not *silently* hardcode USER_SHARED_DATA to physical page 2! It's purely FreeLdr's decision to place PCR on the page 1. Instead, rely on an assumption that shared data always follows PCR's page. NT relies on the same assumption.
svn path=/trunk/; revision=32471
This commit is contained in:
parent
ef3cc678bc
commit
a4cad73564
1 changed files with 4 additions and 1 deletions
|
@ -182,7 +182,10 @@ MmInitVirtualMemory()
|
|||
TRUE,
|
||||
0,
|
||||
BoundaryAddressMultiple);
|
||||
MmSharedDataPagePhysicalAddress.QuadPart = 2 << PAGE_SHIFT;
|
||||
|
||||
/* Shared data are always located the next page after PCR */
|
||||
MmSharedDataPagePhysicalAddress = MmGetPhysicalAddress((PVOID)PCR);
|
||||
MmSharedDataPagePhysicalAddress.QuadPart += PAGE_SIZE;
|
||||
|
||||
/*
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue