Move POST stack from 0xfffe to 0x7c00.
authorKevin O'Connor <kevin@koconnor.net>
Wed, 12 Nov 2008 02:34:37 +0000 (21:34 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 12 Nov 2008 02:34:37 +0000 (21:34 -0500)
The BIOS Boot Specification recommends 0x7c00 - 0xffff for option rom
    temp storage, so don't use that space as a stack.
Also, default CONFIG_VGAHOOKS off as it isn't generally useful.
Finally, update TODO list.

TODO
src/config.h

diff --git a/TODO b/TODO
index 94d2465cb5cec7e6261dff04895f27d3f8b6fd58..07015deb75b5c2262067439cf7f75d9ebf25a1c7 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,12 +7,6 @@ machine.
 
 Fix keyboard LEDs.
 
-Improve option rom handling.  A real bios can copy the option roms
-from PCI space.  Also, there is no handling for BCVs today.  Verify
-option roms wont stomp on seabios stack and bss.
-
-Clean up and clarify usage/scope of .bss and .data variables.
-
 Review changes committed to coreboot, virtualbox, qemu, kvm, and bochs
 cvs tip.
   * bochs cvs 20081016:           -- better post resume support
index 2d9d396ff4ca53f1b8c21e3c31434617e97442b6..1a22cd86ae4b3744cdcfaa19f0feaf4442eb4e21 100644 (file)
@@ -63,7 +63,7 @@
 // Support generation of ACPI tables (for emulators)
 #define CONFIG_ACPI 1
 // Support bios callbacks specific to via vgabios.
-#define CONFIG_VGAHOOKS 1
+#define CONFIG_VGAHOOKS 0
 // Maximum number of map entries in the e820 map
 #define CONFIG_MAX_E820 32
 
@@ -80,7 +80,7 @@
 #define CONFIG_BIOS_REVISION 0x01
 
 // Various memory addresses used by the code.
-#define BUILD_STACK_ADDR        0xfffe
+#define BUILD_STACK_ADDR        0x7c00
 #define BUILD_CPU_COUNT_ADDR    0xf000
 #define BUILD_AP_BOOT_ADDR      0x10000
 #define BUILD_BIOS_ADDR         0xf0000