- MmDeleteVirtualMapping can be called for memory that isn't mapped yet -- just ignore this like we do on x86.

- This gets us much farther, to the point where we try to load smss.exe but can't find it.


svn path=/trunk/; revision=34821
This commit is contained in:
ReactOS Portable Systems Group
2008-07-27 05:38:51 +00:00
parent b66ab06e30
commit 574cb20678
+11 -2
View File
@@ -293,12 +293,21 @@ MmDeleteVirtualMapping(IN PEPROCESS Process,
// Get the PTE
//
PointerPte = MiGetPteAddress(Address);
ASSERT(PointerPte->u.Hard.L2.Small.Type == SmallPte);
if (PointerPte->u.Hard.L1.Fault.Type == FaultPte)
{
//
// Invalid PTE
//
if (WasDirty) *WasDirty = FALSE;
if (Page) *Page = 0;
return;
}
//
// Save the PTE
//
Pte = *PointerPte;
ASSERT(PointerPte->u.Hard.L2.Small.Type == SmallPte);
//
// Destroy the PTE