Reduce stack usage for ISRs; minor fixes.
[seabios.git] / TODO
1 Audit all sti/cli calls.
2
3 Audit statements where a 32bit intermediary changes meaning of a 16bit
4 comparison.
5
6 Look into ways to reduce stack usage.  For example, %esp, %ebp, %esi
7 (high bits), %edi (high bits) are already restored by the C code if
8 they're changed - they probably don't need to be backed up on entry.
9
10 Code assumes ebda segment is static - it doesn't read 0x40e.
11
12 See if using an ld script for 16bit mode is a good idea.
13
14 The __call16 code does a long jump to the interrupt trampolines - this
15 is unnecessary.
16
17 Fix makefiles so that they rebuild the required files automatically.
18
19 Cleanup setting of ES on GET/SET_BDA
20
21 Make sure inline assembly isn't preventing inlining of calling
22 functions.
23
24 Convert remaining parts of rombios.c to new code.
25
26 Convert rombios32 and apm bios stuff to new code.
27
28 Allow one to select adding 32 bit code to 0xf000 or in a separate
29 location.
30
31 Try generating bios tables at compile time.
32
33 Move e820 map generation to post time (just have e820 code copy pre
34 made tables back to user).