mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 13:11:11 +03:00
[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>
This commit is contained in:
committed by
Marty Connor
parent
9e9cc8c60f
commit
fa4aec8f03
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user