mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 06:48:22 +00:00
ke: make DPC handlers take in DPC pointer as parameter
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ pub fn clock() void {
|
||||
}
|
||||
|
||||
// Called in a DPC when a timer has expired.
|
||||
fn handle_expiry(_: ?*anyopaque) void {
|
||||
fn handle_expiry(_: *ke.Dpc, _: ?*anyopaque) void {
|
||||
std.debug.assert(ki.ipl.current() == .Dispatch);
|
||||
const cpu = percpu.local();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user