Reduce stack usage for ISRs; minor fixes.
authorKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 15:14:59 +0000 (11:14 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 15:14:59 +0000 (11:14 -0400)
commited12849c9b06e371f11596a32da5997c96d9bc95
tree690280737159fb0f8feb42301d37e660517928f2
parent2cdd8b6fb1aced4ec08c5e98705922c27285ddfb
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.
12 files changed:
TODO
src/biosvar.h
src/clock.c
src/disk.c
src/disk.h
src/floppy.c
src/kbd.c
src/mouse.c
src/output.c
src/romlayout.S
src/system.c
src/util.h