diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-11-26 17:02:43 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-11-26 17:02:43 -0500 |
commit | d21c089acf7016bb22ab81a96c5e20ca8075e3ea (patch) | |
tree | fb11094ee8d95707a8e6b1668b72e7d3c3bd4e3b /src/kbd.c | |
parent | 952974e3eccaefc667466e8309e15a7fbb867326 (diff) | |
download | seabios-d21c089acf7016bb22ab81a96c5e20ca8075e3ea.tar.gz |
Enable a default hw irq handler.
Also, only route hw irqs to their handlers when they are enabled.
(This ensures that if a subsystem is disabled that the default
hwirq handler will be used.)
Add helper macros to declare the extern asm handlers.
Always enable the RTC hwirq at startup (as opposed to when it is first
used).
Fix bug in default handler - wrong bit was used for checking the
cascaded irq.
Diffstat (limited to 'src/kbd.c')
-rw-r--r-- | src/kbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -97,8 +97,7 @@ kbd_setup() keyboard_init(); - // Enable IRQ1 (handle_09) - unmask_pic1(PIC1_IRQ1); + enable_hwirq(1, entry_09); } static u8 |