aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/Makefile.pcbios
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-10-27 01:06:00 +0000
committerMichael Brown <mcb30@etherboot.org>2009-02-18 18:12:32 +0000
commitb5577553e59391653f47b9edb12775c080665db0 (patch)
treed824146681cbb12132831358f494b9803bad1d48 /src/arch/i386/Makefile.pcbios
parentdd44a7c3140f489b1be7f44a1335732f2b47c63d (diff)
downloadipxe-b5577553e59391653f47b9edb12775c080665db0.zip
ipxe-b5577553e59391653f47b9edb12775c080665db0.tar.gz
ipxe-b5577553e59391653f47b9edb12775c080665db0.tar.bz2
[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/arch/i386/Makefile.pcbios')
-rw-r--r--src/arch/i386/Makefile.pcbios1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile.pcbios b/src/arch/i386/Makefile.pcbios
index a93861a..64b3dac 100644
--- a/src/arch/i386/Makefile.pcbios
+++ b/src/arch/i386/Makefile.pcbios
@@ -13,6 +13,7 @@ LDFLAGS += -N --no-check-sections
MEDIA += rom
MEDIA += pxe
MEDIA += kpxe
+MEDIA += kkpxe
MEDIA += elf
MEDIA += elfd
MEDIA += lmelf