aboutsummaryrefslogtreecommitdiff
path: root/src/clock.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-12 22:59:43 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-12 22:59:43 -0400
commit15c1f2207f4d406bb56032cef5920f474f32de88 (patch)
tree26094bfcb85b116a5786e574ba353bd8e541f84e /src/clock.c
parent2e3eeebc33bcf780912f3b10fb23f82d4f9afb22 (diff)
downloadseabios-hppa-15c1f2207f4d406bb56032cef5920f474f32de88.zip
seabios-hppa-15c1f2207f4d406bb56032cef5920f474f32de88.tar.gz
seabios-hppa-15c1f2207f4d406bb56032cef5920f474f32de88.tar.bz2
Support config driven debugging of each irq handler.
This allows one to easily enable verbose output from handlers.
Diffstat (limited to 'src/clock.c')
-rw-r--r--src/clock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clock.c b/src/clock.c
index aef1be8..5bf4642 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -276,7 +276,7 @@ handle_1aXX(struct bregs *regs)
void VISIBLE16
handle_1a(struct bregs *regs)
{
- //debug_enter(regs);
+ debug_enter(regs, DEBUG_HDL_1a);
switch (regs->ah) {
case 0x00: handle_1a00(regs); break;
case 0x01: handle_1a01(regs); break;
@@ -295,14 +295,14 @@ handle_1a(struct bregs *regs)
void VISIBLE16
handle_1c()
{
- //debug_enter(regs);
+ debug_isr(DEBUG_ISR_1c);
}
// INT 08h System Timer ISR Entry Point
void VISIBLE16
handle_08()
{
- //debug_isr();
+ debug_isr(DEBUG_ISR_08);
irq_enable();
floppy_tick();
@@ -448,7 +448,7 @@ handle_1583(struct bregs *regs)
void VISIBLE16
handle_70()
{
- //debug_isr();
+ debug_isr(DEBUG_ISR_70);
// Check which modes are enabled and have occurred.
u8 registerB = inb_cmos(CMOS_STATUS_B);