1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

Kernel: Add PCI helpers to enable and disable the interrupt line

This commit is contained in:
Liav A 2020-02-22 17:15:03 +02:00 committed by Andreas Kling
parent ca05d54b2b
commit 3539666ac9
3 changed files with 87 additions and 69 deletions

View file

@ -165,6 +165,8 @@ struct ChangeableAddress : public Address {
ID get_id(PCI::Address);
void enumerate_all(Function<void(Address, ID)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
u8 get_interrupt_line(Address);
u32 get_BAR0(Address);
u32 get_BAR1(Address);