summaryrefslogtreecommitdiff
path: root/stage3/main.c
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2024-04-11 21:12:49 +0200
committerLizzy Fleckenstein <lizzy@vlhl.dev>2024-04-11 21:13:44 +0200
commit57437ce6b41d354781c53b0164a310c3541fc5d3 (patch)
treea08e85d18ff1c9362afcd55b96e0d6e57bf94b48 /stage3/main.c
parent01731e6e89d44ac7e7ab675e4e597474d1b5180a (diff)
downloadcuddles-57437ce6b41d354781c53b0164a310c3541fc5d3.tar.xz
show total heap sizeHEADmaster
Diffstat (limited to 'stage3/main.c')
-rw-r--r--stage3/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stage3/main.c b/stage3/main.c
index b4ce692..3d7d7aa 100644
--- a/stage3/main.c
+++ b/stage3/main.c
@@ -125,6 +125,10 @@ void kmain(struct bootinfo *info)
print(S("\n"));
}
+ print(S("total heap size: "));
+ print_bytes(heap_total_size());
+ print(S("\n"));
+
print(S("gfx framebuffer at "));
print_hex((u64) bootinfo->gfx_framebuffer);
print(S("-"));