refactor: remove ke.Cpu struct

This commit is contained in:
Loïc Grégoire
2026-03-30 17:45:49 -04:00
parent 84500e2ff3
commit faf76ca485
15 changed files with 221 additions and 261 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ pub fn clock() void {
// Called in a DPC when a timer has expired.
fn handle_expiry(_: ?*anyopaque) void {
std.debug.assert(ke.curcpu().ipl == .Dispatch);
std.debug.assert(ki.ipl.current() == .Dispatch);
const cpu = percpu.local();
while (true) {