From 2a0f17ae86497ed1f6d1fbfc0a07831cb14d7e5a Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Mon, 13 Jul 2026 05:35:29 +0100 Subject: [PATCH] fix kernel: debug --- system/kernel/kernel.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/kernel/kernel.zig b/system/kernel/kernel.zig index f4bd9e8..297780a 100644 --- a/system/kernel/kernel.zig +++ b/system/kernel/kernel.zig @@ -269,7 +269,7 @@ fn kmain(boot_information: *const BootInformation) noreturn { } log.checkpoint(cp_running); - status("kernel initialised.\n"); + status("/system/kernel: initialised.\n"); // Publish the initial-ramdisk so user space can `system_spawn` its bundled // binaries by name. The kernel no longer launches them itself: init is the @@ -282,7 +282,7 @@ fn kmain(boot_information: *const BootInformation) noreturn { // manager then discovers the hardware and spawns each driver. init runs on its own // address space, preemptively — this boot context becomes the BSP's idle loop. if (boot_information.init_len != 0) { - status("starting /system/services/init...\n"); + status("/system/kernel: starting /system/services/init...\n"); const image = @as([*]const u8, @ptrFromInt(boot_handoff.physicalToVirtual(boot_information.init_base)))[0..boot_information.init_len]; process.spawnProcess(image, 4, &.{"/system/services/init"}) catch |err| { statusPrint("/system/services/init failed to load: {s}\n", .{@errorName(err)});