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:
parent
ca05d54b2b
commit
3539666ac9
3 changed files with 87 additions and 69 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue