mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:MM] Print debugging information in case CORE-16449 happens.
This commit is contained in:
parent
383ea7d92b
commit
ef1c726621
1 changed files with 8 additions and 1 deletions
|
@ -2409,7 +2409,14 @@ MiSetSystemCodeProtection(
|
|||
TempPte = *PointerPte;
|
||||
|
||||
/* Make sure it's valid */
|
||||
ASSERT(TempPte.u.Hard.Valid == 1);
|
||||
if (TempPte.u.Hard.Valid != 1)
|
||||
{
|
||||
DPRINT1("CORE-16449: FirstPte=%p, LastPte=%p, Protection=%lx\n", FirstPte, LastPte, Protection);
|
||||
DPRINT1("CORE-16449: PointerPte=%p, TempPte=%lx\n", PointerPte, TempPte.u.Long);
|
||||
DPRINT1("CORE-16449: Please issue the 'mod' and 'bt' (KDBG) or 'lm' and 'kp' (WinDbg) commands. Then report this in Jira.\n");
|
||||
ASSERT(TempPte.u.Hard.Valid == 1);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Update the protection */
|
||||
TempPte.u.Hard.Write = BooleanFlagOn(Protection, IMAGE_SCN_MEM_WRITE);
|
||||
|
|
Loading…
Reference in a new issue