From 81e710a1baa02791ad58a0def573d39b7c8a873c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 24 May 2017 23:47:05 +0200 Subject: [PATCH] add more debug messages --- arch/x86/kernel/apic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index aa64a6eae..e1426c331 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -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); }