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:
parent
df5242a1a6
commit
81e710a1ba
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue