diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-15 22:48:28 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-02-15 22:48:28 -0500 |
commit | d7e998fdd0ea1cacbc83e9add182c49917bf35e6 (patch) | |
tree | f9ef70f06a3ba914abff8ad6531be34d5ec3dc28 /src/config.h | |
parent | 525be697f95eaa6a037b924afc99c971c0444db6 (diff) | |
download | seabios-hppa-d7e998fdd0ea1cacbc83e9add182c49917bf35e6.zip seabios-hppa-d7e998fdd0ea1cacbc83e9add182c49917bf35e6.tar.gz seabios-hppa-d7e998fdd0ea1cacbc83e9add182c49917bf35e6.tar.bz2 |
Dynamically allocate each drive_g with malloc_fseg().
This eliminates the limit on the number of available drives. It also
allows for each driver to allocate additional custom fields.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index c02d496..e359652 100644 --- a/src/config.h +++ b/src/config.h @@ -119,15 +119,13 @@ #define CONFIG_USE_SMM 1 // Maximum number of map entries in the e820 map #define CONFIG_MAX_E820 32 -// Space to reserve in f-segment for run-time built bios tables. +// Space to reserve in f-segment for dynamic allocations #define CONFIG_MAX_BIOSTABLE 2048 // Space to reserve in high-memory for tables #define CONFIG_MAX_HIGHTABLE (64*1024) // Maximum number of ATA controllers to support #define CONFIG_MAX_ATA_INTERFACES 4 -// Maximum number of internal drives supported -#define CONFIG_MAX_DRIVES 8 // Largest supported externaly facing drive id #define CONFIG_MAX_EXTDRIVE 16 |