diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-07-26 19:16:09 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-07-26 19:16:09 -0400 |
commit | e773930ea4f37bca9334a157e86e70f14234888f (patch) | |
tree | cc55909121ff77e44b31097f37a78f73e597cc37 /src/config.h | |
parent | 98571bee61e23bcfe1400d9ceaf432d8a84a77bb (diff) | |
download | seabios-e773930ea4f37bca9334a157e86e70f14234888f.tar.gz |
Add support for enabling ram in 0xc0000-0xf0000 area.
Enhance shadow ram support to enable read/write of option rom area.
This enables support for option roms that modify themselves.
Support copying the roms before enabling shadowing, to work around the
qemu implementation of ram shadowing.
Rename next_rom to RomEnd and export it.
Support locking ram being used for optionroms before booting.
Don't bother and'ing/or'ing 0x59 register - it's usage is well defined.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 3b4b5fee..6f191070 100644 --- a/src/config.h +++ b/src/config.h @@ -112,8 +112,11 @@ #define BUILD_STACK_ADDR 0x7c00 #define BUILD_S3RESUME_STACK_ADDR 0x1000 #define BUILD_AP_BOOT_ADDR 0x10000 +#define BUILD_ROM_START 0xc0000 #define BUILD_BIOS_ADDR 0xf0000 #define BUILD_BIOS_SIZE 0x10000 +// 32KB for shadow ram copying (works around emulator deficiencies) +#define BUILD_BIOS_TMP_ADDR 0x30000 #define BUILD_APIC_ADDR 0xfee00000 #define BUILD_IOAPIC_ADDR 0xfec00000 |