initial commit

This commit is contained in:
Loïc Grégoire
2026-03-21 22:46:54 -04:00
parent cf7df37498
commit 9e065ee023
45 changed files with 4430 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const entry = @import("entry.zig");
pub const first_init = entry.first_init;
pub fn devices_init() void {}
pub fn debug_write(c: u8) void {
// Write to debugcon
asm volatile ("outb %[c], %[port]"
:
: [c] "{al}" (c),
[port] "N{dx}" (@as(u16, 0xe9)),
);
}
pub fn arm_timer(_: u64) void {}