mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Kernel: Reorder bitwise operations when creating PCI interrupt overrides
This commit is contained in:
parent
e4ad1b92fb
commit
4d44a3bdfe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue