Skip to content

Commit

Permalink
Improve halt
Browse files Browse the repository at this point in the history
  • Loading branch information
bagggage committed Sep 26, 2024
1 parent b8bfdf4 commit ed1e7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/utils.zig
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ pub inline fn calcAlign(comptime T: type, value: T, alignment: T) T {
}

pub inline fn halt() noreturn {
while (true) {}
while (true) arch.halt();
}

0 comments on commit ed1e7fd

Please sign in to comment.