summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2019-01-25 15:53:43 +0100
committerMichael Brown2019-01-25 15:53:43 +0100
commit36a4c85f911c85f5ab183331ff74d125f9a9ed32 (patch)
tree2954c7b32d75848821bd361c40432544e7d4a84a /src/include
parent[util] Add support for EFI ROM images (diff)
downloadipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.gz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.tar.xz
ipxe-36a4c85f911c85f5ab183331ff74d125f9a9ed32.zip
[init] Show startup and shutdown function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-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 025cfaf3..32927e3a 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 );
};