Browse Source

Kernel: Convert klog() => AK::Format in InterruptManagement

Andreas Kling 4 năm trước cách đây
mục cha
commit
ad2f95e35a
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Kernel/Interrupts/InterruptManagement.cpp

+ 3 - 3
Kernel/Interrupts/InterruptManagement.cpp

@@ -142,7 +142,7 @@ UNMAP_AFTER_INIT InterruptManagement::InterruptManagement()
 
 UNMAP_AFTER_INIT void InterruptManagement::switch_to_pic_mode()
 {
-    klog() << "Interrupts: Switch to Legacy PIC mode";
+    dmesgln("Interrupts: Switch to Legacy PIC mode");
     InterruptDisabler disabler;
     m_smp_enabled = false;
     m_interrupt_controllers[0] = adopt(*new PIC());
@@ -161,7 +161,7 @@ UNMAP_AFTER_INIT void InterruptManagement::switch_to_pic_mode()
 
 UNMAP_AFTER_INIT void InterruptManagement::switch_to_ioapic_mode()
 {
-    klog() << "Interrupts: Switch to IOAPIC mode";
+    dmesgln("Interrupts: Switch to IOAPIC mode");
     InterruptDisabler disabler;
 
     if (m_madt.is_null()) {
@@ -175,7 +175,7 @@ UNMAP_AFTER_INIT void InterruptManagement::switch_to_ioapic_mode()
     m_smp_enabled = true;
     if (m_interrupt_controllers.size() == 1) {
         if (get_interrupt_controller(0).type() == IRQControllerType::i8259) {
-            klog() << "Interrupts: NO IOAPIC detected, Reverting to PIC mode.";
+            dmesgln("Interrupts: NO IOAPIC detected, Reverting to PIC mode.");
             return;
         }
     }