mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 18:03:36 +03:00
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -127,6 +127,7 @@ struct init_fn cachedhcp_init_fn __init_fn ( INIT_NORMAL ) = {
|
||||
|
||||
/** Cached DHCPACK startup function */
|
||||
struct startup_fn cachedhcp_startup_fn __startup_fn ( STARTUP_LATE ) = {
|
||||
.name = "cachedhcp",
|
||||
.startup = cachedhcp_startup,
|
||||
};
|
||||
|
||||
|
||||
@@ -265,5 +265,6 @@ static void runtime_init ( void ) {
|
||||
|
||||
/** Command line and initrd initialisation function */
|
||||
struct startup_fn runtime_startup_fn __startup_fn ( STARTUP_NORMAL ) = {
|
||||
.name = "runtime",
|
||||
.startup = runtime_init,
|
||||
};
|
||||
|
||||
@@ -141,5 +141,6 @@ static void undionly_shutdown ( int booting ) {
|
||||
}
|
||||
|
||||
struct startup_fn startup_undionly __startup_fn ( STARTUP_LATE ) = {
|
||||
.name = "undionly",
|
||||
.shutdown = undionly_shutdown,
|
||||
};
|
||||
|
||||
@@ -300,5 +300,6 @@ static void initrd_startup ( void ) {
|
||||
|
||||
/** initrd startup function */
|
||||
struct startup_fn startup_initrd __startup_fn ( STARTUP_LATE ) = {
|
||||
.name = "initrd",
|
||||
.startup = initrd_startup,
|
||||
};
|
||||
|
||||
@@ -547,6 +547,7 @@ static void bios_inject_shutdown ( int booting __unused ) {
|
||||
|
||||
/** Keypress injection startup function */
|
||||
struct startup_fn bios_inject_startup_fn __startup_fn ( STARTUP_NORMAL ) = {
|
||||
.name = "bios_inject",
|
||||
.startup = bios_inject_startup,
|
||||
.shutdown = bios_inject_shutdown,
|
||||
};
|
||||
|
||||
@@ -229,6 +229,7 @@ static void unhide_etherboot ( int flags __unused ) {
|
||||
|
||||
/** Hide Etherboot startup function */
|
||||
struct startup_fn hide_etherboot_startup_fn __startup_fn ( STARTUP_EARLY ) = {
|
||||
.name = "hidemem",
|
||||
.startup = hide_etherboot,
|
||||
.shutdown = unhide_etherboot,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user