Implement tlb IPI

This commit is contained in:
Jeremy Soller
2018-09-25 20:57:59 -06:00
parent f5fcbc12b8
commit b08fa10277

View File

@@ -1,4 +1,5 @@
use core::sync::atomic::Ordering;
use x86::shared::tlb;
use context;
use device::local_apic::LOCAL_APIC;
@@ -10,7 +11,8 @@ interrupt!(wakeup, {
interrupt!(tlb, {
LOCAL_APIC.eoi();
//TODO
tlb::flush_all();
});
interrupt!(switch, {