13 lines
256 B
C++
13 lines
256 B
C++
// Excerpt from the "initializeSystem" function
|
|
void System::initializeSystem() {
|
|
if (Apic::isSupported()) {
|
|
Apic::enable();
|
|
|
|
if (Apic::isSmpSupported()) {
|
|
Apic::startupSmp();
|
|
}
|
|
}
|
|
|
|
Cpu::enableInterrupts();
|
|
}
|