diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 11:14:59 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 11:14:59 -0400 |
commit | ed12849c9b06e371f11596a32da5997c96d9bc95 (patch) | |
tree | 690280737159fb0f8feb42301d37e660517928f2 /src/mouse.c | |
parent | 2cdd8b6fb1aced4ec08c5e98705922c27285ddfb (diff) | |
download | seabios-ed12849c9b06e371f11596a32da5997c96d9bc95.tar.gz |
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/mouse.c')
-rw-r--r-- | src/mouse.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mouse.c b/src/mouse.c index 62070da9..569488b7 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -8,6 +8,9 @@ #include "biosvar.h" // struct bregs #include "util.h" // debug_enter +#define DEBUGF1(fmt, args...) bprintf(0, fmt , ##args) +#define DEBUGF(fmt, args...) + static char panic_msg_keyb_buffer_full[] = "%s: keyboard input buffer full\n"; static void @@ -413,9 +416,9 @@ int74_function() // INT74h : PS/2 mouse hardware interrupt void VISIBLE16 -handle_74(struct bregs *regs) +handle_74() { - //debug_isr(regs); + //debug_isr(); irq_enable(); int74_function(); |