Various minor cleanups.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 2 Mar 2008 03:17:07 +0000 (22:17 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 2 Mar 2008 03:17:07 +0000 (22:17 -0500)
TODO
src/post.c
src/romlayout.S

diff --git a/TODO b/TODO
index fa013925098da5905e9c83667371302eecc56013..bd3bbe99d5c6b11eda15725c2d6bd8cf95538ddf 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,5 +1,9 @@
 Find out why ubuntu compiles are failing.  Find work around.
 
+Code assumes ebda segment is static - it doesn't read 0x40e.
+
+See if using an ld script for 16bit mode is a good idea.
+
 The __call16 code does a long jump to the interrupt trampolines - this
 is unnecessary.
 
index e566e83bb31e8ed97f726b5a8ff1cdb3d606d5cc..466603684f9ad9a389464137c6e0dad7c696994a 100644 (file)
@@ -16,7 +16,7 @@
 #define ebda ((struct extended_bios_data_area_s *)(EBDA_SEG<<4))
 #define ipl ((struct ipl_s *)(IPL_SEG<<4))
 
-static int
+static u8
 checksum(u8 *p, u32 len)
 {
     u32 i;
index ab742d566cb57836e83c807c430654eb749edfd6..4a067e13ed21a4afc1fd97ee9e5c9d373ab9caa0 100644 (file)
@@ -251,7 +251,7 @@ pnp_string:
  ****************************************************************/
 
         .macro ENTRY cfunc
-        cli         // In case something far-calls insted of using "int"
+        cli         // In case something far-calls instead of using "int"
         pushal
         pushw %es
         pushw %ds
@@ -404,7 +404,7 @@ dummy_iret_handler:
         .ascii "06/23/99"
 
         .org 0xfffe
-        // model byte 0xFC = AT
+        // XXX - model byte 0xFC = AT
         .byte 0xfc
         .byte 0x00