Fix IDT entries to be 32bit

This commit is contained in:
ktkk 2026-10-08 13:40:53 +00:00
parent 7dfdbe10ec
commit f8abe365e9
2 changed files with 27 additions and 44 deletions

View file

@ -64,13 +64,13 @@ fn kmain(magic: u32, info: *const MultibootInfo) callconv(.c) void {
// :
//);
std.log.info("We did not crash!", .{});
hang();
}
fn breakpointHandler(stack_frame: *InterruptStackFrame) callconv(.{ .x86_interrupt = .{} }) void {
_ = stack_frame;
std.log.err("breakpoint\n", .{});
std.log.err("breakpoint\n{}", .{stack_frame.*});
}
fn hang() noreturn {