diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-07-17 17:45:17 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-07-17 17:45:17 +0100 |
commit | 03c80c12b8e9019554c3bd4545cf68926ee1ce47 (patch) | |
tree | ad2217eda5c315775a86708e166c85a9f04926ff /src/interface | |
parent | 4e033c774b3731488cc7750f2d4d89c12661a254 (diff) | |
download | ipxe-03c80c12b8e9019554c3bd4545cf68926ee1ce47.tar.gz |
[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/interface')
-rw-r--r-- | src/interface/pxe/pxe_preboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/pxe/pxe_preboot.c b/src/interface/pxe/pxe_preboot.c index b2914d366..8220d1f20 100644 --- a/src/interface/pxe/pxe_preboot.c +++ b/src/interface/pxe/pxe_preboot.c @@ -318,7 +318,7 @@ PXENV_EXIT_t pxenv_stop_undi ( struct s_PXENV_STOP_UNDI *stop_undi ) { pxe_set_netdev ( NULL ); /* Prepare for unload */ - shutdown(); + shutdown ( SHUTDOWN_BOOT ); stop_undi->Status = PXENV_STATUS_SUCCESS; return PXENV_EXIT_SUCCESS; |