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.
#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;
****************************************************************/
.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
.ascii "06/23/99"
.org 0xfffe
- // model byte 0xFC = AT
+ // XXX - model byte 0xFC = AT
.byte 0xfc
.byte 0x00