ke+mm: add TLB shootdown and memory reclamation.

This commit is contained in:
Loïc Grégoire
2026-06-25 21:33:14 -04:00
parent 20a38f3a49
commit 4ba57ad42a
19 changed files with 422 additions and 63 deletions
+5
View File
@@ -4,6 +4,7 @@ const r = @import("root");
const ke = r.ke;
const ki = ke.private;
const pl = r.pl;
const mi = r.mm.private;
extern const __interrupt_vectors: [256]usize;
@@ -84,6 +85,10 @@ export fn isr_handler_main(frame: *const amd64.IrqFrame) callconv(.{ .x86_64_sys
ki.timer.clock();
}
if (frame.intno == 241) {
ki.shootdown.ipi_handler();
}
if (frame.intno >= 32) {
pl.impl.apic.eoi();
}