mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-23 13:57:04 +00:00
Kernel: Convert klog() => AK::Format in IOAPIC
This commit is contained in:
@@ -54,9 +54,9 @@ UNMAP_AFTER_INIT IOAPIC::IOAPIC(PhysicalAddress address, u32 gsi_base)
|
||||
, m_redirection_entries_count((read_register(0x1) >> 16) + 1)
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
klog() << "IOAPIC ID: 0x" << String::format("%x", m_id);
|
||||
klog() << "IOAPIC Version: 0x" << String::format("%x", m_version) << ", Redirection Entries count - " << m_redirection_entries_count;
|
||||
klog() << "IOAPIC Arbitration ID 0x" << String::format("%x", read_register(0x2));
|
||||
dmesgln("IOAPIC ID: {:#x}", m_id);
|
||||
dmesgln("IOAPIC Version: {:#x}, redirection entries: {}", m_version, m_redirection_entries_count);
|
||||
dmesgln("IOAPIC Arbitration ID {:#x}", read_register(0x2));
|
||||
mask_all_redirection_entries();
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ void IOAPIC::spurious_eoi(const GenericInterruptHandler& handler) const
|
||||
InterruptDisabler disabler;
|
||||
VERIFY(handler.type() == HandlerType::SpuriousInterruptHandler);
|
||||
VERIFY(handler.interrupt_number() == APIC::spurious_interrupt_vector());
|
||||
klog() << "IOAPIC::spurious_eoi - Spurious Interrupt occurred";
|
||||
dbgln("IOAPIC: Spurious interrupt");
|
||||
}
|
||||
|
||||
void IOAPIC::map_isa_interrupts()
|
||||
|
||||
Reference in New Issue
Block a user