diff options
author | Michael Brown | 2008-07-17 18:45:17 +0200 |
---|---|---|
committer | Michael Brown | 2008-07-17 18:45:17 +0200 |
commit | 03c80c12b8e9019554c3bd4545cf68926ee1ce47 (patch) | |
tree | ad2217eda5c315775a86708e166c85a9f04926ff /src/arch/i386/firmware/pcbios/hidemem.c | |
parent | [phantom] Guard against partially-written status descriptors (diff) | |
download | ipxe-03c80c12b8e9019554c3bd4545cf68926ee1ce47.tar.gz ipxe-03c80c12b8e9019554c3bd4545cf68926ee1ce47.tar.xz ipxe-03c80c12b8e9019554c3bd4545cf68926ee1ce47.zip |
[iSCSI] Support Windows Server 2008 direct iSCSI installation
Add yet another ugly hack to iscsiboot.c, this time to allow the user to
inhibit the shutdown/removal of the iSCSI INT13 device (and the network
devices, since they are required for the iSCSI device to function).
On the plus side, the fact that shutdown() now takes flags to
differentiate between shutdown-for-exit and shutdown-for-boot means that
another ugly hack (to allow returning via the PXE stack on BIOSes that
have broken INT 18 calls) will be easier.
I feel dirty.
Diffstat (limited to 'src/arch/i386/firmware/pcbios/hidemem.c')
-rw-r--r-- | src/arch/i386/firmware/pcbios/hidemem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/firmware/pcbios/hidemem.c b/src/arch/i386/firmware/pcbios/hidemem.c index eba94007..11ca3128 100644 --- a/src/arch/i386/firmware/pcbios/hidemem.c +++ b/src/arch/i386/firmware/pcbios/hidemem.c @@ -128,7 +128,7 @@ static void hide_etherboot ( void ) { * Uninstalls the INT 15 handler installed by hide_etherboot(), if * possible. */ -static void unhide_etherboot ( void ) { +static void unhide_etherboot ( int flags __unused ) { /* If we have more than one hooked interrupt at this point, it * means that some other vector is still hooked, in which case |