mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[HALx86]: Display the invalid opcodes when HalpOpcodeInvalid is called.
svn path=/trunk/; revision=65311
This commit is contained in:
parent
ed11c3a778
commit
ca31e1569d
1 changed files with 7 additions and 2 deletions
|
@ -60,9 +60,14 @@ BOOLEAN
|
|||
FASTCALL
|
||||
HalpOpcodeInvalid(IN PHAL_BIOS_FRAME BiosFrame)
|
||||
{
|
||||
PUCHAR Inst = (PUCHAR)(BiosFrame->CsBase + BiosFrame->Eip);
|
||||
|
||||
/* Print error message */
|
||||
DPRINT1("HAL: An invalid V86 opcode was encountered at address %x:%x\n",
|
||||
BiosFrame->SegCs, BiosFrame->Eip);
|
||||
DPRINT1("HAL: An invalid V86 opcode was encountered at address %X:%X\n",
|
||||
"Opcode: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X",
|
||||
BiosFrame->SegCs, BiosFrame->Eip,
|
||||
Inst[0], Inst[1], Inst[2], Inst[3], Inst[4],
|
||||
Inst[5], Inst[6], Inst[7], Inst[8], Inst[9]);
|
||||
|
||||
/* Break */
|
||||
DbgBreakPoint();
|
||||
|
|
Loading…
Reference in a new issue