Author: fireball Date: Sun Feb 24 20:19:00 2008 New Revision: 32470
URL: http://svn.reactos.org/svn/reactos?rev=32470&view=rev Log: - ntldr marks pages allocated for PCR and USER_SHARED_DATA as StartupPcrPage, not as MemoryData. In fact, it's the only way of finding where the PCR page is located physically.
Modified: trunk/reactos/ntoskrnl/ke/freeldr.c
Modified: trunk/reactos/ntoskrnl/ke/freeldr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/freeldr.c?rev=3... ============================================================================== --- trunk/reactos/ntoskrnl/ke/freeldr.c (original) +++ trunk/reactos/ntoskrnl/ke/freeldr.c Sun Feb 24 20:19:00 2008 @@ -477,7 +477,7 @@ #endif
/* Build an entry for the KPCR and KUSER_SHARED_DATA */ - Status = KiRosAllocateArcDescriptor(1, 3, LoaderMemoryData); + Status = KiRosAllocateArcDescriptor(1, 3, LoaderStartupPcrPage); if (Status != STATUS_SUCCESS) return Status;
/* Build an entry for the PDE and return the status */