aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-05-17 15:35:23 +0100
committerMichael Brown <mcb30@ipxe.org>2011-05-17 15:35:23 +0100
commitfcd55f750011e83709681476e8958fb4c9a2298d (patch)
tree52e72b31c6cbc15963a58461ccbdedf8c0400e8f /src/config
parent058b69d033ab626da5cb68d3b1028090a37cc2e3 (diff)
downloadipxe-fcd55f750011e83709681476e8958fb4c9a2298d.zip
ipxe-fcd55f750011e83709681476e8958fb4c9a2298d.tar.gz
ipxe-fcd55f750011e83709681476e8958fb4c9a2298d.tar.bz2
[romprefix] Do not fall back to hooking INT19 by default
Several BIOSes (including most IBM BIOSes and many virtual machine BIOSes) do not provide detectable PnP support, but will use the BEV entry point for a PnP option ROM. On these semi-PnP BIOSes, iPXE will respond to the absence of detectable PnP support by hooking INT19, which disrupts the boot order. BIOSes that genuinely require hooking INT19 seem to be very rare nowadays. It may therefore be preferable to assume that the absence of detectable PnP support indicates a semi-PnP BIOS rather than a non-PnP BIOS. Change the default behaviour so that INT19 will never be hooked unless the compile-time option NONPNP_HOOK_INT19 is enabled. Leave the redundant PnP detection routine in-place to allow for debugging via the ROM banner line. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/general.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/general.h b/src/config/general.h
index 9eb8865..7ae1f75 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -128,6 +128,12 @@ FILE_LICENCE ( GPL2_OR_LATER );
#undef REBOOT_CMD /* Reboot command */
/*
+ * ROM-specific options
+ *
+ */
+#undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
+
+/*
* Error message tables to include
*
*/