Skip to content

Commit cc3bc14

Browse files
committed
add irpt desc
1 parent bb5195c commit cc3bc14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/irpts.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
#include <sys/irpts.h>
2929

3030
static void FATAL(const char* str, uint32_t errcode, struct irpt_regs* regs) {
31-
printk("current:%x\n", regs);
32-
printk("EIP: %x:%x\nEFLAGS: %x\nESP: %x:%x\n",
31+
printk("[FATAL] %s\n", str);
32+
printk("EIP: %x:%x\nEFLAGS: %x\nESP: %x:%x\n",
3333
regs->cs, regs->eip, regs->eflags, regs->es, regs->uesp);
34-
printk("ES:%x\n", regs->es);
34+
printk("ES: %x\n", regs->es);
3535
for (;;) ;
3636
}
3737

0 commit comments

Comments
 (0)