aboutsummaryrefslogtreecommitdiff
path: root/src/kbd.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-03-11 11:14:59 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-03-11 11:14:59 -0400
commited12849c9b06e371f11596a32da5997c96d9bc95 (patch)
tree690280737159fb0f8feb42301d37e660517928f2 /src/kbd.c
parent2cdd8b6fb1aced4ec08c5e98705922c27285ddfb (diff)
downloadseabios-hppa-ed12849c9b06e371f11596a32da5997c96d9bc95.zip
seabios-hppa-ed12849c9b06e371f11596a32da5997c96d9bc95.tar.gz
seabios-hppa-ed12849c9b06e371f11596a32da5997c96d9bc95.tar.bz2
Reduce stack usage for ISRs; minor fixes.
Don't back up all registers on isr handlers - they don't read/modify them. This saves stack space. extended_bios_data_area_s must be packed to match ebda spec. Enable irqs on int 08 - follows old bochs bios code. Fix bug in int 76 -- should clear disk_interrupt_flag not floppy_harddisk_info. Make sure we alert in disk_ret on failure case. int 18/19 entry points need to setup cld/%ds too. asm in handle_1587 clobbers flags - note that in clobber list.
Diffstat (limited to 'src/kbd.c')
-rw-r--r--src/kbd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kbd.c b/src/kbd.c
index c89899f..86a470e 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -237,7 +237,7 @@ set_leds()
void VISIBLE16
handle_16(struct bregs *regs)
{
-// debug_enter(regs);
+ //debug_enter(regs);
set_leds();
@@ -542,9 +542,9 @@ process_key(u8 scancode)
// INT09h : Keyboard Hardware Service Entry Point
void VISIBLE16
-handle_09(struct bregs *regs)
+handle_09()
{
- //debug_isr(regs);
+ //debug_isr();
// disable keyboard
outb(0xad, PORT_PS2_STATUS);