[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
+1
View File
@@ -39,6 +39,7 @@ struct init_fn {
* part of the calls to startup() and shutdown().
*/
struct startup_fn {
const char *name;
void ( * startup ) ( void );
void ( * shutdown ) ( int booting );
};