1
Files
interrupt-handling-using-th…/code/lapic_svr_example.cpp
2023-02-26 21:12:51 +01:00

5 lines
154 B
C++

SVREntry svrEntry{};
svrEntry.vector = InterruptVector::SPURIOUS;
svrEntry.isSWEnabled = true; // Keep the APIC software enabled
writeSVR(svrEntry);