mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-01 07:48:20 +00:00
ke+mm: add TLB shootdown and memory reclamation.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user