git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disabled debug in PMM, and fixed error in #UD reporting
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
errors.c
diff --git
a/Kernel/arch/x86_64/errors.c
b/Kernel/arch/x86_64/errors.c
index
c73ac0f
..
9f1d290
100644
(file)
--- a/
Kernel/arch/x86_64/errors.c
+++ b/
Kernel/arch/x86_64/errors.c
@@
-67,8
+67,9
@@
void Error_Handler(tRegs *Regs)
{
case 6: // #UD
Warning(" Offending bytes: %02x %02x %02x %02x",
- *(Uint8*)Regs->RIP+0, *(Uint8*)Regs->RIP+1,
- *(Uint8*)Regs->RIP+2, *(Uint8*)Regs->RIP+3);
+ *(Uint8*)(Regs->RIP+0), *(Uint8*)(Regs->RIP+1),
+ *(Uint8*)(Regs->RIP+2), *(Uint8*)(Regs->RIP+3)
+ );
break;
}
UCC
git Repository :: git.ucc.asn.au