Better printing on SMP status

This commit is contained in:
Alex 2022-10-20 05:07:53 +03:00
parent 747c08708b
commit 5d17c5a411
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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.
}