mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 23:08:21 +00:00
feat(pl/ke): initial amd64 support
This commit is contained in:
+7
-4
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user