aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/init.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
committerMichael Brown <mcb30@ipxe.org>2019-01-25 14:53:43 +0000
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/include/ipxe/init.h
parentde4565cbe76ea9f7913a01f331be3ee901bb6e17 (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/init.h')
-rw-r--r--src/include/ipxe/init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/init.h b/src/include/ipxe/init.h
index 025cfaf37..32927e3a6 100644
--- a/src/include/ipxe/init.h
+++ b/src/include/ipxe/init.h
@@ -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 );
};