hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/boot/idt.zig
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-06 12:49:46 +0200
committerhachem <im@hachem.wtf>2026-10-06 12:49:46 +0200
commit5d4a723a5f157c0ed38a348099a600d1d21c3c2b (patch)
tree70e5fdf560a64cd0eb3a13d88ce046ddd29fd077 /boot/idt.zig
parent52dab7fc85d877e80e3032f0afabae906adebad8 (diff)
feat: gils core utils and other shit
Diffstat (limited to 'boot/idt.zig')
-rw-r--r--boot/idt.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/idt.zig b/boot/idt.zig
index 0ffd116..15e6588 100644
--- a/boot/idt.zig
+++ b/boot/idt.zig
@@ -29,7 +29,7 @@ const Idtr = packed struct {
base: u64,
};
-var idt = [_]Gate{@bitCast(@as(u128, 0))} ** 256;
+var idt: [256]Gate = @splat(@bitCast(@as(u128, 0)));
var idtr: Idtr = undefined;
const names = [_][]const u8{