mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:22:46 +00:00 
			
		
		
		
	Kernel: Convert klog() => AK::Format in InterruptManagement
This commit is contained in:
		
							parent
							
								
									8a7fe86ee0
								
							
						
					
					
						commit
						ad2f95e35a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -142,7 +142,7 @@ UNMAP_AFTER_INIT InterruptManagement::InterruptManagement() | ||||||
| 
 | 
 | ||||||
| UNMAP_AFTER_INIT void InterruptManagement::switch_to_pic_mode() | 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; |     InterruptDisabler disabler; | ||||||
|     m_smp_enabled = false; |     m_smp_enabled = false; | ||||||
|     m_interrupt_controllers[0] = adopt(*new PIC()); |     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() | UNMAP_AFTER_INIT void InterruptManagement::switch_to_ioapic_mode() | ||||||
| { | { | ||||||
|     klog() << "Interrupts: Switch to IOAPIC mode"; |     dmesgln("Interrupts: Switch to IOAPIC mode"); | ||||||
|     InterruptDisabler disabler; |     InterruptDisabler disabler; | ||||||
| 
 | 
 | ||||||
|     if (m_madt.is_null()) { |     if (m_madt.is_null()) { | ||||||
|  | @ -175,7 +175,7 @@ UNMAP_AFTER_INIT void InterruptManagement::switch_to_ioapic_mode() | ||||||
|     m_smp_enabled = true; |     m_smp_enabled = true; | ||||||
|     if (m_interrupt_controllers.size() == 1) { |     if (m_interrupt_controllers.size() == 1) { | ||||||
|         if (get_interrupt_controller(0).type() == IRQControllerType::i8259) { |         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; |             return; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling