mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
Kernel: Add PCI helpers to enable and disable the interrupt line
This commit is contained in:
parent
ca05d54b2b
commit
3539666ac9
Notes:
sideshowbarker
2024-07-19 09:07:45 +09:00
Author: https://github.com/supercomputer7
Commit: 3539666ac9
Pull-request: https://github.com/SerenityOS/serenity/pull/1274
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
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