mirror of
https://github.com/ipxe/ipxe
synced 2026-01-14 09:58:52 +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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user