summaryrefslogtreecommitdiffstats
path: root/src/core/malloc.c
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/core/malloc.c
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/core/malloc.c')
-rw-r--r--src/core/malloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/malloc.c b/src/core/malloc.c
index 91c8e4d3..0a7843a1 100644
--- a/src/core/malloc.c
+++ b/src/core/malloc.c
@@ -685,6 +685,7 @@ static void shutdown_cache ( int booting __unused ) {
/** Memory allocator shutdown function */
struct startup_fn heap_startup_fn __startup_fn ( STARTUP_EARLY ) = {
+ .name = "heap",
.shutdown = shutdown_cache,
};