aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-05-16 23:57:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-05-16 23:57:08 -0400
commit7da210c73acec4c6196a3915dba084cd8f9f23f5 (patch)
tree101a16aed461bad4a2a5e4b29e1a393ba197dbc1 /src/output.c
parent9f193b9883da62105238c9b5e199e28508748f09 (diff)
downloadseabios-hppa-7da210c73acec4c6196a3915dba084cd8f9f23f5.zip
seabios-hppa-7da210c73acec4c6196a3915dba084cd8f9f23f5.tar.gz
seabios-hppa-7da210c73acec4c6196a3915dba084cd8f9f23f5.tar.bz2
Support %ebp register in 'struct bregs'.
Save/restore %ebp on irq entry. Support saving and restoring %ebp on call16. Enable display of %ebp in register dumps.
Diffstat (limited to 'src/output.c')
-rw-r--r--src/output.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/output.c b/src/output.c
index 9cebf95..a316626 100644
--- a/src/output.c
+++ b/src/output.c
@@ -322,11 +322,12 @@ dump_regs(struct bregs *regs)
dprintf(1, " NULL\n");
return;
}
- dprintf(1, " a=%08x b=%08x c=%08x d=%08x si=%08x di=%08x\n"
+ dprintf(1, " a=%08x b=%08x c=%08x d=%08x ds=%04x es=%04x ss=%04x\n"
, regs->eax, regs->ebx, regs->ecx, regs->edx
- , regs->esi, regs->edi);
- dprintf(1, " ds=%08x es=%08x ip=%08x cs=%08x f=%08x r=%08x\n"
- , regs->ds, regs->es, regs->ip, regs->cs, regs->flags, (u32)regs);
+ , regs->ds, regs->es, GET_SEG(SS));
+ dprintf(1, " si=%08x di=%08x bp=%08x r=%08x cs=%04x ip=%04x f=%04x\n"
+ , regs->esi, regs->edi, regs->ebp, (u32)regs
+ , regs->cs, regs->ip, regs->flags);
}
// Report entry to an Interrupt Service Routine (ISR).