mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-01 23:58:21 +00:00
ke: use assert_interface for ki.impl
This commit is contained in:
@@ -83,10 +83,6 @@ pub fn lower(new: Ipl) void {
|
||||
}
|
||||
}
|
||||
|
||||
comptime {
|
||||
if (!@hasDecl(ki.impl, "set_hardware_ipl")) @compileError("impl must provide set_hardware_ipl()");
|
||||
}
|
||||
|
||||
/// Set the hardware IPL to `new`.
|
||||
pub fn set_hardware(new: Ipl) Ipl {
|
||||
var cpu = percpu.local();
|
||||
|
||||
Reference in New Issue
Block a user