mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[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:
parent
cee7a2a71e
commit
f907eeb4f9
1 changed files with 5 additions and 5 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue