aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-06 11:57:45 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-06 11:57:45 -0500
commit62eea6714cf768f46be527d6e99b5b0169417a0f (patch)
treeeb34f38816f5b8b99d21f51243c371c21773a47d /src/config.h
parent4132e0213ea9b168dd619ca76f1f1bf075d1f4a4 (diff)
downloadseabios-hppa-62eea6714cf768f46be527d6e99b5b0169417a0f.zip
seabios-hppa-62eea6714cf768f46be527d6e99b5b0169417a0f.tar.gz
seabios-hppa-62eea6714cf768f46be527d6e99b5b0169417a0f.tar.bz2
Add additional PCI option rom checks.
PCI_ROM_ADDRESS is only valid for PCI_HEADER_TYPE_NORMAL devices. Don't attempt to run a rom with address less than 16MiB. Don't run roms for IDE code when native IDE support is available. Also, move hardcode option rom defs to config.h. Also, add some minor code cleanups.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index 1a22cd8..f6280a5 100644
--- a/src/config.h
+++ b/src/config.h
@@ -27,7 +27,7 @@
#define CONFIG_PS2_MOUSE 1
// Support for IDE disk code
#define CONFIG_ATA 1
-// Support calling int155f on each keyboard press
+// Support calling int155f on each keyboard event
#define CONFIG_KBD_CALL_INT15_4F 1
// Support for booting from a CD
#define CONFIG_CDROM_BOOT 1
@@ -39,7 +39,7 @@
#define CONFIG_APMBIOS 1
// Support int 19/18 system bootup support
#define CONFIG_BOOT 1
-// Support int 14 parallel port calls
+// Support int 14 serial port calls
#define CONFIG_SERIAL 1
// Support int 17 parallel port calls
#define CONFIG_LPT 1
@@ -49,6 +49,12 @@
#define CONFIG_OPTIONROMS 1
// Set if option roms are already copied to 0xc0000-0xf0000
#define CONFIG_OPTIONROMS_DEPLOYED 1
+// When option roms are not pre-deployed, SeaBIOS can copy an optionrom
+// from flash for up to 2 devices.
+#define OPTIONROM_BDF_1 0x0000
+#define OPTIONROM_MEM_1 0x00000000
+#define OPTIONROM_BDF_2 0x0000
+#define OPTIONROM_MEM_2 0x00000000
// Support an interactive boot menu at end of post.
#define CONFIG_BOOTMENU 1