mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 06:28:21 +00:00
refactor: remove ke.Cpu struct
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user