[NTOS]: Antique leftover, initialize the shared user data page with MI_MAKE_HARDWARE_PTE_KERNEL

svn path=/trunk/; revision=48197
This commit is contained in:
Sir Richard 2010-07-22 20:46:19 +00:00
parent cee7a2a71e
commit f907eeb4f9

View file

@ -413,11 +413,11 @@ MmInitSystem(IN ULONG Phase,
ASSERT(PointerPte->u.Hard.Valid == 1);
PageFrameNumber = PFN_FROM_PTE(PointerPte);
//
// Now write a copy of it
//
MI_MAKE_OWNER_PAGE(&TempPte);
TempPte.u.Hard.PageFrameNumber = PageFrameNumber;
/* Build the PTE and write it */
MI_MAKE_HARDWARE_PTE_KERNEL(&TempPte,
PointerPte,
MM_READONLY,
PageFrameNumber);
*MmSharedUserDataPte = TempPte;
/* Setup the memory threshold events */