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.
16 lines
238 B
C
16 lines
238 B
C
#ifndef _USR_AUTOBOOT_H
|
|
#define _USR_AUTOBOOT_H
|
|
|
|
/** @file
|
|
*
|
|
* Automatic booting
|
|
*
|
|
*/
|
|
|
|
extern int shutdown_exit_flags;
|
|
|
|
extern void autoboot ( void );
|
|
extern int boot_root_path ( const char *root_path );
|
|
|
|
#endif /* _USR_AUTOBOOT_H */
|