diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-28 13:33:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-04 11:06:58 -0400 |
commit | 31bcda20eff45de7fdd2aad30d42f28165ccd69a (patch) | |
tree | 7a5737412a82419ea676bbac43a7cd72f7b089ed /src/config.h | |
parent | f4c511cd7a5a475d542389341a320cb1c946fe25 (diff) | |
download | seabios-31bcda20eff45de7fdd2aad30d42f28165ccd69a.tar.gz |
smm: Use a C struct to define the layout of the SMM area.
Describe the memory layout using a struct instead of hard coded
offsets.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index 269a022c..6f1a5b9b 100644 --- a/src/config.h +++ b/src/config.h @@ -39,9 +39,8 @@ #define BUILD_EXTRA_STACK_SIZE 0x800 // 32KB for shadow ram copying (works around emulator deficiencies) #define BUILD_BIOS_TMP_ADDR 0x30000 -#define BUILD_SMM_INIT_ADDR 0x38000 -#define BUILD_SMM_ADDR 0xa8000 -#define BUILD_SMM_SIZE 0x8000 +#define BUILD_SMM_INIT_ADDR 0x30000 +#define BUILD_SMM_ADDR 0xa0000 #define BUILD_PCIMEM_START 0xe0000000 #define BUILD_PCIMEM_END 0xfec00000 /* IOAPIC is mapped at */ |