7 lines
242 B
C++
7 lines
242 B
C++
// Excerpt from the initialize function
|
|
void LocalApic::initialize() {
|
|
SVREntry svrEntry{};
|
|
svrEntry.vector = InterruptVector::SPURIOUS;
|
|
svrEntry.isSWEnabled = true; // Keep the APIC software enabled
|
|
writeSVR(svrEntry);
|
|
} |