mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +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:
@@ -212,6 +212,7 @@ static void efi_tick_shutdown ( int booting __unused ) {
|
||||
|
||||
/** Timer tick startup function */
|
||||
struct startup_fn efi_tick_startup_fn __startup_fn ( STARTUP_EARLY ) = {
|
||||
.name = "efi_tick",
|
||||
.startup = efi_tick_startup,
|
||||
.shutdown = efi_tick_shutdown,
|
||||
};
|
||||
|
||||
@@ -150,6 +150,7 @@ static void linux_console_shutdown(int flags __unused)
|
||||
}
|
||||
|
||||
struct startup_fn linux_console_startup_fn __startup_fn(STARTUP_EARLY) = {
|
||||
.name = "linux_console",
|
||||
.startup = linux_console_startup,
|
||||
.shutdown = linux_console_shutdown,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user