diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-07-25 13:48:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-07-25 13:48:27 -0400 |
commit | 2929c352b73e35a32d90d0fdd7fd723591a408de (patch) | |
tree | ebb2980e71648f5d54f4dbe1f2ed3557ba7ee1d2 /src/config.h | |
parent | 35284962d181ed99f38d8201472d65e3aed96e19 (diff) | |
download | seabios-2929c352b73e35a32d90d0fdd7fd723591a408de.tar.gz |
Add malloc_high/fseg() and rework bios table creation to use them.
Add malloc like functions for memory management instead of open-coding
memory reservation in all callers.
Add ability for unused high ram to be returned for general purpose use.
Break up acpi table creation into multiple functions.
Also, move smbios tables into high ram (instead of f-segment).
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index cba7ac4b..3b4b5fee 100644 --- a/src/config.h +++ b/src/config.h @@ -98,12 +98,12 @@ #define CONFIG_MAX_E820 32 // Space to reserve in f-segment for run-time built bios tables. #define CONFIG_MAX_BIOSTABLE 2048 +// Space to reserve in high-memory for tables +#define CONFIG_MAX_HIGHTABLE (64*1024) #define CONFIG_MAX_ATA_INTERFACES 4 #define CONFIG_MAX_ATA_DEVICES (CONFIG_MAX_ATA_INTERFACES*2) -#define CONFIG_ACPI_DATA_SIZE 0x00010000L - #define CONFIG_MODEL_ID 0xFC #define CONFIG_SUBMODEL_ID 0x00 #define CONFIG_BIOS_REVISION 0x01 |