fix debug typos

This commit is contained in:
Daniel Samson 2026-07-05 19:07:22 +01:00
parent 3f17ebf175
commit 53a33a7332
No known key found for this signature in database
GPG Key ID: A9EB2589C60F7268
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ fn kmain(boot_info: *const BootInfo) noreturn {
serial0.debugPrint(" pitch : {d} bytes\n", .{fb.pitch});
serial0.debugPrint(" format : {s}\n", .{@tagName(fb.format)});
serial0.debugPrint(" framebuffer: 0x{x:0>16}\n", .{fb.base});
serial0.debugPrint (" footdebugPrint : {d} MiB\n", .{(fb.pitch * fb.height) / (1024 * 1024)});
serial0.debugPrint (" footprint : {d} MiB\n", .{(fb.pitch * fb.height) / (1024 * 1024)});
// Summarise the physical memory the loader handed us. The array is danos's
// own MemoryRegion, so this is a plain slice no firmware layout in sight.
@ -100,7 +100,7 @@ fn kmain(boot_info: *const BootInfo) noreturn {
serial0.debugWrite("\ndanos: kernel heap online\n");
// Measure the amount of resources the kernel is actually using
const s2 = pmm.stats();
serial0.debugPrint(" Kernel FootdebugPrint: {d} KiB\n", .{kib(s1.free_frames - s2.free_frames)});
serial0.debugPrint(" Kernel footprint: {d} KiB\n", .{kib(s1.free_frames - s2.free_frames)});
// Register the current context as the first task before enabling preemption.
scheduler.init(4);