diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-01 22:17:07 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-01 22:17:07 -0500 |
commit | 63dbcfbff1b8b5ce5f0e89d428d9ff43c9d9ac0a (patch) | |
tree | 77c7e2c08f584c28eb8680783d3a9f556e690ba6 | |
parent | e43df9ea52dc499103ef174bceaf1c0f836b2b79 (diff) | |
download | seabios-hppa-63dbcfbff1b8b5ce5f0e89d428d9ff43c9d9ac0a.zip seabios-hppa-63dbcfbff1b8b5ce5f0e89d428d9ff43c9d9ac0a.tar.gz seabios-hppa-63dbcfbff1b8b5ce5f0e89d428d9ff43c9d9ac0a.tar.bz2 |
Various minor cleanups.
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | src/post.c | 2 | ||||
-rw-r--r-- | src/romlayout.S | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -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. @@ -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; diff --git a/src/romlayout.S b/src/romlayout.S index ab742d5..4a067e1 100644 --- a/src/romlayout.S +++ b/src/romlayout.S @@ -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 |