aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-05-12 23:50:16 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-05-12 23:50:16 -0400
commit5c4a8c6554a0a7b0e657c89a485811ca393f44be (patch)
treebcecd995fdc5de1b1dc34b717c72e12d461a9a57 /TODO
parenta2d16927632744804cf0e02568326fd0e6f90ba5 (diff)
downloadseabios-hppa-5c4a8c6554a0a7b0e657c89a485811ca393f44be.zip
seabios-hppa-5c4a8c6554a0a7b0e657c89a485811ca393f44be.tar.gz
seabios-hppa-5c4a8c6554a0a7b0e657c89a485811ca393f44be.tar.bz2
Add tool to check stack usage of 16bit code.
This tool analyzes the assembler and can approximate the stack usage of the various entry points.
Diffstat (limited to 'TODO')
-rw-r--r--TODO9
1 files changed, 3 insertions, 6 deletions
diff --git a/TODO b/TODO
index 71f7bb3..54751a4 100644
--- a/TODO
+++ b/TODO
@@ -3,10 +3,9 @@ Split rombios32.c up into multiple files.
Review changes committed to coreboot, virtualbox, qemu, kvm, and bochs
cvs tip.
-Alter ISRs so that they do not enable irqs. Only call out to other
-bios functions after minimizing stack usage.
-
-Try to write a script to analyze stack usage of 16bit code.
+Look into ways to reduce stack usage. Alter ISRs so that they do not
+enable irqs. Only call out to other bios functions after minimizing
+stack usage.
Audit all sti/cli calls. Audit all call16 calls to make sure flags is
setup properly with respect to irqs.
@@ -14,8 +13,6 @@ setup properly with respect to irqs.
Audit statements where a 32bit intermediary changes meaning of a 16bit
comparison.
-Look into ways to reduce stack usage.
-
Code assumes ebda segment is static - it doesn't read 0x40e.
The __call16 code does a long jump to the interrupt trampolines - this