1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add more debug messages

This commit is contained in:
Stefan Lankes 2017-05-24 23:47:05 +02:00
parent df5242a1a6
commit 81e710a1ba

View file

@ -667,6 +667,7 @@ int apic_calibration(void)
atomic_int32_inc(&cpu_online);
if (is_single_kernel()) {
LOG_INFO("Disable PIC\n");
// Now, HermitCore is able to use the APIC => Therefore, we disable the PIC
outportb(0xA1, 0xFF);
outportb(0x21, 0xFF);
@ -683,6 +684,7 @@ int apic_calibration(void)
}
// now, we don't longer need the IOAPIC timer and turn it off
LOG_INFO("IOAPIC timer\n");
ioapic_intoff(2, apic_processors[boot_processor]->id);
}