mirror of
https://github.com/reactos/reactos.git
synced 2025-06-23 19:30:43 +00:00
[NTOS]: This is why you shouldn't let Antoine Dodson commit code.
svn path=/trunk/; revision=48941
This commit is contained in:
parent
febd117a3b
commit
efefc97901
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ MiCheckPdeForPagedPool(IN PVOID Address)
|
||||||
// Copy it from our double-mapped system page directory
|
// Copy it from our double-mapped system page directory
|
||||||
//
|
//
|
||||||
InterlockedExchangePte(PointerPde,
|
InterlockedExchangePte(PointerPde,
|
||||||
MmSystemPagePtes[(ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1)].u.Long);
|
MmSystemPagePtes[((ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1)) / sizeof(MMPTE)].u.Long);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -488,7 +488,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
//
|
//
|
||||||
// Save it into our double-buffered system page directory
|
// Save it into our double-buffered system page directory
|
||||||
//
|
//
|
||||||
MmSystemPagePtes[(ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1)] = TempPde;
|
MmSystemPagePtes[((ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1)) / sizeof(MMPTE)] = TempPde;
|
||||||
|
|
||||||
/* Initialize the PFN */
|
/* Initialize the PFN */
|
||||||
MiInitializePfnForOtherProcess(PageFrameNumber,
|
MiInitializePfnForOtherProcess(PageFrameNumber,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue