diff options
| author | hachem <im@hachem.wtf> | 2026-10-06 12:49:46 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-06 12:49:46 +0200 |
| commit | 5d4a723a5f157c0ed38a348099a600d1d21c3c2b (patch) | |
| tree | 70e5fdf560a64cd0eb3a13d88ce046ddd29fd077 /boot/sched.zig | |
| parent | 52dab7fc85d877e80e3032f0afabae906adebad8 (diff) | |
feat: gils core utils and other shit
Diffstat (limited to 'boot/sched.zig')
| -rw-r--r-- | boot/sched.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/sched.zig b/boot/sched.zig index 1842309..383b40d 100644 --- a/boot/sched.zig +++ b/boot/sched.zig @@ -84,7 +84,7 @@ pub fn taskMax() u64 { } pub fn taskState(i: u64) u64 { if (i >= MAX_TASKS) return 0; - return @intFromEnum(tasks[i].state); + return @backingInt(tasks[i].state); } var proc_exited_flag: bool = false; |
