Michael Brown
5ec2b2c251
Cope with regions bigger than 4GB.
...
We now split e820 regions around ourselves, rather than just
truncating the e820 region. This avoids the worst-case scenario of
losing all memory over 4GB.
It's more important to get the memory map right now that we're
expecting to still be loaded when the OS starts in several situations
(e.g. Linux with UNDI driver, any OS with iSCSI/AoE boot, etc.).
2006-05-23 23:33:37 +00:00
Michael Brown
d822b3d4cd
Define BIOS data segment in bios.h
2006-05-13 11:43:07 +00:00
Michael Brown
352bf1bda2
Move init.h to gpxe/init.h.
2006-04-30 01:08:52 +00:00
Michael Brown
832e86246b
gcc is rather over-aggressive about optimising out static data structures
...
even when __atribute__ (( unused )) is correctly set...
2006-04-24 18:31:37 +00:00
Michael Brown
7b423c0988
Fixes for gcc >= 3.2 from Georg Baum
2005-05-23 23:47:54 +00:00
Michael Brown
c245ab75ad
Moved disk functions to drivers/bus/bios_disks.c
2005-04-18 15:35:39 +00:00
Michael Brown
2c36f5e6c7
Save a few bytes by using naturally-sized ints.
2005-04-18 09:17:27 +00:00
Michael Brown
44c7cc8c12
Standardised debug mechanism in place now.
2005-04-14 11:55:57 +00:00
Michael Brown
e44e5c7247
compiler.h is now always included on the command line.
2005-04-14 11:50:26 +00:00
Michael Brown
070f6c0b6b
Fixed debug messages
2005-04-10 16:58:19 +00:00
Michael Brown
e29e6456b0
Don't zero freed base memory; one block will contain librm.
2005-04-09 16:14:37 +00:00
Michael Brown
48feb91a40
Rewritten in a much saner way, now that we don't have to worry about
...
continually reallocating the real-mode stack.
2005-04-09 15:01:38 +00:00
Michael Brown
fd95189c4d
basememsize() updates the BIOS FBMS counter at 40:13.
2005-04-09 14:16:25 +00:00
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
2005-04-08 15:01:17 +00:00
Michael Brown
3d6123e69a
Initial revision
2005-03-08 18:53:11 +00:00