feat(pl/ke): initial amd64 support

This commit is contained in:
2026-03-28 19:14:17 +01:00
committed by rdmsr
parent 2e82a695e1
commit c6e63ed2bf
18 changed files with 279 additions and 87 deletions
+7 -4
View File
@@ -3,10 +3,13 @@ const b = @import("base");
const ke = b.ke;
const ki = ke.private;
/// Panics!
pub fn panic(comptime fmt: []const u8, args: anytype) noreturn {
// FIXME: this is probably broken.
std.log.err("KERNEL PANIC: " ++ fmt, args);
pub fn panic(
msg: []const u8,
first_trace_addr: ?usize,
) noreturn {
_ = first_trace_addr;
std.log.err("KERNEL PANIC: {s}", .{msg});
while (true) {}
}