From: Kevin O'Connor Date: Wed, 12 Nov 2008 02:34:37 +0000 (-0500) Subject: Move POST stack from 0xfffe to 0x7c00. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=commitdiff_plain;h=bf5ff17db0eb51b65652f95ff760276bbb1db2c4 Move POST stack from 0xfffe to 0x7c00. 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. --- diff --git a/TODO b/TODO index 94d2465..07015de 100644 --- 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 diff --git a/src/config.h b/src/config.h index 2d9d396..1a22cd8 100644 --- a/src/config.h +++ b/src/config.h @@ -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