Kernel/PCI: Allow to set the PCI IRQ line of a device

This will be used later by the AHCI code to set the IRQ line to be 11,
if hardware by mistake changed the value to be something we can't deal
with.
This commit is contained in:
Liav A 2021-03-19 04:50:31 +02:00 committed by Andreas Kling
commit 36a82188a8
Notes: sideshowbarker 2024-07-18 21:11:46 +09:00
2 changed files with 6 additions and 0 deletions

View file

@ -204,6 +204,7 @@ void enumerate(Function<void(Address, ID)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
u8 get_interrupt_line(Address);
void set_interrupt_line(Address, u8);
void raw_access(Address, u32, size_t, u32);
u32 get_BAR0(Address);
u32 get_BAR1(Address);