Kernel: Fix AML PCIConfig OpRegion accesses
Apparently I'm not supposted to calculate device/function from the offset, but parse them from the acpi namespace :) This allows PCI PIN interrupt routing actually work
This commit is contained in:
@@ -87,6 +87,12 @@ namespace Kernel::ACPI::AML
|
||||
struct OpRegion
|
||||
{
|
||||
GAS::AddressSpaceID address_space;
|
||||
|
||||
uint16_t seg;
|
||||
uint8_t bus;
|
||||
uint8_t dev;
|
||||
uint8_t func;
|
||||
|
||||
uint64_t offset;
|
||||
uint64_t length;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user