mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 14:38:21 +00:00
initial commit
This commit is contained in:
@@ -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 {}
|
||||
Reference in New Issue
Block a user