mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Better printing on SMP status
This commit is contained in:
parent
747c08708b
commit
5d17c5a411
@ -260,7 +260,7 @@ namespace APIC
|
||||
this->lapic->Write(APIC_TDCR, 0x3);
|
||||
this->lapic->Write(APIC_TICR, TicksIn10ms / 10);
|
||||
trace("APIC Timer (CPU %d): %d ticks in 10ms", GetCurrentCPU()->ID, TicksIn10ms / 10);
|
||||
KPrint("APIC Timer: %d ticks in 10ms", TicksIn10ms / 10);
|
||||
KPrint("APIC Timer: \e8888FF%ld\eCCCCCC ticks in 10ms", TicksIn10ms / 10);
|
||||
}
|
||||
|
||||
Timer::~Timer()
|
||||
|
@ -45,7 +45,7 @@ extern "C" void StartCPU()
|
||||
Interrupts::InitializeTimer(CoreID);
|
||||
|
||||
CPU::Interrupts(CPU::Enable);
|
||||
KPrint("CPU %d is online", CoreID);
|
||||
KPrint("\e058C19CPU \e8888FF%d \e058C19is online", CoreID);
|
||||
CPUEnabled = true;
|
||||
CPU::Stop(); // Stop and surpress interrupts.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user