From a79328fe976e116f97b3b7dc0908ed6fe93b6d18 Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Mon, 2 Nov 2015 11:55:30 -0800 Subject: [PATCH] [main] move the printf for heap after the pre-heap init hooks are run --- top/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top/main.c b/top/main.c index 2df0921a..0065a945 100644 --- a/top/main.c +++ b/top/main.c @@ -104,8 +104,8 @@ void lk_main(ulong arg0, ulong arg1, ulong arg2, ulong arg3) lk_boot_args[0], lk_boot_args[1], lk_boot_args[2], lk_boot_args[3]); // bring up the kernel heap - dprintf(SPEW, "initializing heap\n"); lk_primary_cpu_init_level(LK_INIT_LEVEL_TARGET_EARLY, LK_INIT_LEVEL_HEAP - 1); + dprintf(SPEW, "initializing heap\n"); heap_init(); // deal with any static constructors