[ros-diffs] [fireball] 32470: - 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.

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Feb 24 18:19:01 CET 2008


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=32470&r1=32469&r2=32470&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list