mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Kernel: Convert klog() => AK::Format in MultiProcessorParser
This commit is contained in:
parent
8c0723960b
commit
8fc3f710b3
1 changed files with 16 additions and 3 deletions
|
@ -47,7 +47,7 @@ UNMAP_AFTER_INIT OwnPtr<MultiProcessorParser> MultiProcessorParser::autodetect()
|
|||
UNMAP_AFTER_INIT MultiProcessorParser::MultiProcessorParser(PhysicalAddress floating_pointer)
|
||||
: m_floating_pointer(floating_pointer)
|
||||
{
|
||||
klog() << "MultiProcessor: Floating Pointer Structure @ " << m_floating_pointer;
|
||||
dbgln("MultiProcessor: Floating Pointer Structure @ {}", m_floating_pointer);
|
||||
parse_floating_pointer_data();
|
||||
parse_configuration_table();
|
||||
}
|
||||
|
@ -130,7 +130,13 @@ UNMAP_AFTER_INIT Vector<PCIInterruptOverrideMetadata> MultiProcessorParser::get_
|
|||
for (auto id : pci_bus_ids) {
|
||||
if (id == entry.source_bus_id) {
|
||||
|
||||
klog() << "Interrupts: Bus " << entry.source_bus_id << ", Polarity " << entry.polarity << ", Trigger Mode " << entry.trigger_mode << ", INT " << entry.source_bus_irq << ", IOAPIC " << entry.destination_ioapic_id << ", IOAPIC INTIN " << entry.destination_ioapic_intin_pin;
|
||||
dbgln("Interrupts: Bus {}, polarity {}, trigger mode {}, INT {}, IOAPIC {}, IOAPIC INTIN {}",
|
||||
entry.source_bus_id,
|
||||
entry.polarity,
|
||||
entry.trigger_mode,
|
||||
entry.source_bus_irq,
|
||||
entry.destination_ioapic_id,
|
||||
entry.destination_ioapic_intin_pin);
|
||||
overrides.empend(
|
||||
entry.source_bus_id,
|
||||
entry.polarity,
|
||||
|
@ -143,7 +149,14 @@ UNMAP_AFTER_INIT Vector<PCIInterruptOverrideMetadata> MultiProcessorParser::get_
|
|||
}
|
||||
|
||||
for (auto& override_metadata : overrides) {
|
||||
klog() << "Interrupts: Bus " << override_metadata.bus() << ", Polarity " << override_metadata.polarity() << ", PCI Device " << override_metadata.pci_device_number() << ", Trigger Mode " << override_metadata.trigger_mode() << ", INT " << override_metadata.pci_interrupt_pin() << ", IOAPIC " << override_metadata.ioapic_id() << ", IOAPIC INTIN " << override_metadata.ioapic_interrupt_pin();
|
||||
dbgln("Interrupts: Bus {}, polarity {}, PCI device {}, trigger mode {}, INT {}, IOAPIC {}, IOAPIC INTIN {}",
|
||||
override_metadata.bus(),
|
||||
override_metadata.polarity(),
|
||||
override_metadata.pci_device_number(),
|
||||
override_metadata.trigger_mode(),
|
||||
override_metadata.pci_interrupt_pin(),
|
||||
override_metadata.ioapic_id(),
|
||||
override_metadata.ioapic_interrupt_pin());
|
||||
}
|
||||
return overrides;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue