summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/init.h
diff options
context:
space:
mode:
authorMichael Brown2008-10-27 02:06:00 +0100
committerMichael Brown2009-02-18 19:12:32 +0100
commitb5577553e59391653f47b9edb12775c080665db0 (patch)
treed824146681cbb12132831358f494b9803bad1d48 /src/include/gpxe/init.h
parent[i386] Kill off obsolete boot1a.s file (diff)
downloadipxe-b5577553e59391653f47b9edb12775c080665db0.tar.gz
ipxe-b5577553e59391653f47b9edb12775c080665db0.tar.xz
ipxe-b5577553e59391653f47b9edb12775c080665db0.zip
[pxeprefix] Add .kkpxe image type and ability to return via PXE stack
Certain combinations of PXE stack and BIOS result in a broken INT 18 call, which will leave the system displaying a "PRESS ANY KEY TO REBOOT" message instead of proceeding to the next boot device. On these systems, returning via the PXE stack is the only way to continue to the next boot device. Returning via the PXE stack works only if we haven't already blown away the PXE base code in pxeprefix.S. In most circumstances, we do want to blow away the PXE base code. Base memory is a limited resource, and it is desirable to reclaim as much as possible. When we perform an iSCSI boot, we need to place the iBFT above the 512kB mark, because otherwise it may not be detected by the loaded OS; this may not be possible if the PXE base code is still occupying that memory. Introduce a new prefix type .kkpxe which will preserve both the PXE base code and the UNDI driver (as compared to .kpxe, which preserves the UNDI driver but uninstalls the PXE base code). This prefix type can be used on systems that are known to experience the specific problem of INT 18 being broken, or in builds (such as gpxelinux.0) for which it is particularly important to know that returning to the BIOS will work. Written by H. Peter Anvin <hpa@zytor.com> and Stefan Hajnoczi <stefanha@gmail.com>, minor structural alterations by Michael Brown <mcb30@etherboot.org>.
Diffstat (limited to 'src/include/gpxe/init.h')
-rw-r--r--src/include/gpxe/init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/init.h b/src/include/gpxe/init.h
index d2b450d7..e0e9f9c8 100644
--- a/src/include/gpxe/init.h
+++ b/src/include/gpxe/init.h
@@ -63,6 +63,7 @@ struct startup_fn {
#define STARTUP_EARLY 01 /**< Early startup */
#define STARTUP_NORMAL 02 /**< Normal startup */
+#define STARTUP_LATE 03 /**< Late startup */
/** @} */