ke: use assert_interface for ki.impl

This commit is contained in:
Loïc Grégoire
2026-06-26 17:46:25 -04:00
parent 06e0b857ad
commit b67391e1f2
6 changed files with 60 additions and 26 deletions
-4
View File
@@ -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();