mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.
This commit is contained in:
12
src/include/gpxe/autoboot.h
Normal file
12
src/include/gpxe/autoboot.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _GPXE_AUTOBOOT_H
|
||||
#define _GPXE_AUTOBOOT_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Automatic booting
|
||||
*
|
||||
*/
|
||||
|
||||
extern void autoboot ( void );
|
||||
|
||||
#endif /* _GPXE_AUTOBOOT_H */
|
||||
Reference in New Issue
Block a user