diff options
author | Michael Brown | 2019-01-25 15:53:43 +0100 |
---|---|---|
committer | Michael Brown | 2019-01-25 15:53:43 +0100 |
commit | 36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch) | |
tree | 2954c7b32d75848821bd361c40432544e7d4a84a /src/arch/x86/core | |
parent | [util] Add support for EFI ROM images (diff) | |
download | ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.xz ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.zip |
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/core')
-rw-r--r-- | src/arch/x86/core/cachedhcp.c | 1 | ||||
-rw-r--r-- | src/arch/x86/core/runtime.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/core/cachedhcp.c b/src/arch/x86/core/cachedhcp.c index ff35b925..dffafe3c 100644 --- a/src/arch/x86/core/cachedhcp.c +++ b/src/arch/x86/core/cachedhcp.c @@ -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, }; diff --git a/src/arch/x86/core/runtime.c b/src/arch/x86/core/runtime.c index d160fee0..f96b23af 100644 --- a/src/arch/x86/core/runtime.c +++ b/src/arch/x86/core/runtime.c @@ -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, }; |