[init] Show startup and shutdown function names in debug messages

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2019-01-25 14:53:43 +00:00
parent de4565cbe7
commit 36a4c85f91
19 changed files with 31 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ static void rbg_shutdown_fn ( int booting __unused ) {
/** RBG startup table entry */
struct startup_fn startup_rbg __startup_fn ( STARTUP_NORMAL ) = {
.name = "rbg",
.startup = rbg_startup_fn,
.shutdown = rbg_shutdown_fn,
};

View File

@@ -123,5 +123,6 @@ static void rootcert_init ( void ) {
/** Root certificate initialiser */
struct startup_fn rootcert_startup_fn __startup_fn ( STARTUP_LATE ) = {
.name = "rootcert",
.startup = rootcert_init,
};