Kernel: Expose PCI interrupt mechanism from PCIDevice

This commit is contained in:
Bananymous 2025-02-10 22:57:25 +02:00
parent ad143c184f
commit 22b32a0fe5
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ namespace Kernel::PCI
BAN::ErrorOr<void> reserve_interrupts(uint8_t count);
void enable_interrupt(uint8_t index, Interruptable&);
InterruptMechanism interrupt_mechanism() const { return m_interrupt_mechanism; }
BAN::ErrorOr<BAN::UniqPtr<BarRegion>> allocate_bar_region(uint8_t bar_num);
void enable_bus_mastering();