From 57437ce6b41d354781c53b0164a310c3541fc5d3 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Thu, 11 Apr 2024 21:12:49 +0200 Subject: show total heap size --- stage3/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stage3/main.c') 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("-")); -- cgit v1.2.3