summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/init.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
commitf2f897a1762fab84d2905f32b1c15dd7b42abb56 (patch)
treea38f51d3f1fcbf44afddb4736d549c12eaf491be /gpxe/src/include/gpxe/init.h
parent72d2959272b4616f17a97667e6dfa9d06bf109a3 (diff)
downloadsyslinux-f2f897a1762fab84d2905f32b1c15dd7b42abb56.tar.gz
gpxe: delete long since obsolete snapshot of gPXE
gPXE has been deprecated in favor of iPXE for many, many years now. It is much better than users get it directly from the iPXE project, since we should no longer need any special modifications for Syslinux use. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'gpxe/src/include/gpxe/init.h')
-rw-r--r--gpxe/src/include/gpxe/init.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/gpxe/src/include/gpxe/init.h b/gpxe/src/include/gpxe/init.h
deleted file mode 100644
index a72cba7a..00000000
--- a/gpxe/src/include/gpxe/init.h
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef _GPXE_INIT_H
-#define _GPXE_INIT_H
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-#include <gpxe/tables.h>
-
-/**
- * An initialisation function
- *
- * Initialisation functions are called exactly once, as part of the
- * call to initialise().
- */
-struct init_fn {
- void ( * initialise ) ( void );
-};
-
-/** Initialisation function table */
-#define INIT_FNS __table ( struct init_fn, "init_fns" )
-
-/** Declare an initialisation functon */
-#define __init_fn( init_order ) __table_entry ( INIT_FNS, init_order )
-
-/** @defgroup initfn_order Initialisation function ordering
- * @{
- */
-
-#define INIT_EARLY 01 /**< Early initialisation */
-#define INIT_SERIAL 02 /**< Serial driver initialisation */
-#define INIT_CONSOLE 03 /**< Console initialisation */
-#define INIT_NORMAL 04 /**< Normal initialisation */
-
-/** @} */
-
-/** Shutdown flags */
-enum shutdown_flags {
- /** Shutdown is in order to exit (return to gPXE's caller) */
- SHUTDOWN_EXIT = 0x0001,
- /** Shutdown is in order to boot an OS */
- SHUTDOWN_BOOT = 0x0002,
- /** Do not remove devices */
- SHUTDOWN_KEEP_DEVICES = 0x0004,
-};
-
-/**
- * A startup/shutdown function
- *
- * Startup and shutdown functions may be called multiple times, as
- * part of the calls to startup() and shutdown().
- */
-struct startup_fn {
- void ( * startup ) ( void );
- void ( * shutdown ) ( int flags );
-};
-
-/** Startup/shutdown function table */
-#define STARTUP_FNS __table ( struct startup_fn, "startup_fns" )
-
-/** Declare a startup/shutdown function */
-#define __startup_fn( startup_order ) \
- __table_entry ( STARTUP_FNS, startup_order )
-
-/** @defgroup startfn_order Startup/shutdown function ordering
- *
- * Shutdown functions are called in the reverse order to startup
- * functions.
- *
- * @{
- */
-
-#define STARTUP_EARLY 01 /**< Early startup */
-#define STARTUP_NORMAL 02 /**< Normal startup */
-#define STARTUP_LATE 03 /**< Late startup */
-
-/** @} */
-
-extern void initialise ( void );
-extern void startup ( void );
-extern void shutdown ( int flags );
-
-#endif /* _GPXE_INIT_H */