https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5d6c2869819684df9cc2b…
commit 5d6c2869819684df9cc2bd069d0419b3ab9dbff5
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Mon Jan 21 09:35:20 2019 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Mon Jan 21 09:38:29 2019 +0100
[NTOS/KE] Add diagnosis DPRINT for CORE-15642
---
ntoskrnl/ke/i386/v86vdm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ntoskrnl/ke/i386/v86vdm.c b/ntoskrnl/ke/i386/v86vdm.c
index 09405e8bde..d1c030acc0 100644
--- a/ntoskrnl/ke/i386/v86vdm.c
+++ b/ntoskrnl/ke/i386/v86vdm.c
@@ -429,7 +429,9 @@ KiVdmHandleOpcode(IN PKTRAP_FRAME TrapFrame,
case 0xF4: return KiCallVdmHandler(HLT);
case 0xFA: return KiCallVdmHandler(CLI);
case 0xFB: return KiCallVdmHandler(STI);
- default: return KiCallVdmHandler(INV);
+ default:
+ DPRINT1("Unhandled instruction: 0x%02x.\n", *(PUCHAR)Eip);
+ return KiCallVdmHandler(INV);
}
}