diff options
| author | Joshua Oreman | 2009-10-07 01:15:06 +0200 |
|---|---|---|
| committer | Marty Connor | 2010-01-20 23:23:37 +0100 |
| commit | fa4aec8f034f4999cf933161810b96de83ce31a7 (patch) | |
| tree | 73348c8a175d5b76763d692e662d5179479e976d /src/arch/i386/interface/syslinux | |
| parent | [pxe] Support cached DHCP packets in .kkpxe images (diff) | |
| download | ipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.tar.gz ipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.tar.xz ipxe-fa4aec8f034f4999cf933161810b96de83ce31a7.zip | |
[config] Make PXE stack a compile-time option
For extremely tight space requirements and specific applications, it is
sometimes desirable to create gPXE images that cannot provide the PXE API
functionality to client programs. Add a configuration header option,
PXE_STACK, that can be removed to remove this stack. Also add PXE_MENU
to control the PXE boot menu, which most uses of gPXE do not need.
Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/arch/i386/interface/syslinux')
| -rw-r--r-- | src/arch/i386/interface/syslinux/comboot_call.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c index 08fd1736c..0a17bf130 100644 --- a/src/arch/i386/interface/syslinux/comboot_call.c +++ b/src/arch/i386/interface/syslinux/comboot_call.c @@ -445,8 +445,10 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) { break; case 0x0009: /* Call PXE Stack */ - pxe_api_call ( ix86 ); - ix86->flags &= ~CF; + if ( pxe_api_call_weak ( ix86 ) != 0 ) + ix86->flags |= CF; + else + ix86->flags &= ~CF; break; case 0x000A: /* Get Derivative-Specific Information */ |
