mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
Kernel: Reorder bitwise operations when creating PCI interrupt overrides
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 07:46:03 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/4d44a3bdfe7 Pull-request: https://github.com/SerenityOS/serenity/pull/1718 Reviewed-by: https://github.com/awesomekling
@@ -226,7 +226,7 @@ PCIInterruptOverrideMetadata::PCIInterruptOverrideMetadata(u8 bus_id, u8 polarit
|
||||
, m_polarity(polarity)
|
||||
, m_trigger_mode(trigger_mode)
|
||||
, m_pci_interrupt_pin(source_irq & 0b11)
|
||||
, m_pci_device_number((source_irq & 0b11111) >> 2)
|
||||
, m_pci_device_number((source_irq >> 2) & 0b11111)
|
||||
, m_ioapic_id(ioapic_id)
|
||||
, m_ioapic_interrupt_pin(ioapic_int_pin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user