aboutsummaryrefslogtreecommitdiff
path: root/TODO
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 /TODO
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 'TODO')
-rw-r--r--TODO3
1 files changed, 3 insertions, 0 deletions
diff --git a/TODO b/TODO
index a32c4b7..603d763 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,8 @@
Audit all sti/cli calls.
+Audit statements where a 32bit intermediary changes meaning of a 16bit
+comparison.
+
Look into ways to reduce stack usage. For example, %esp, %ebp, %esi
(high bits), %edi (high bits) are already restored by the C code if
they're changed - they probably don't need to be backed up on entry.