mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +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:
@@ -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