mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
pci_decode: count MSI numbers beginning from one
Ref genodelabs/genode#4578
This commit is contained in:
parent
5956dd591f
commit
6a36e8a8dc
@ -37,7 +37,12 @@ struct Main
|
||||
Expanding_reporter pci_reporter { env, "devices", "devices" };
|
||||
Registry<Bridge> bridge_registry {}; /* contains host bridges */
|
||||
|
||||
unsigned msi_number { 0U };
|
||||
/*
|
||||
* We count beginning from 1 not 0, because some clients (Linux drivers)
|
||||
* do not ignore the pseudo MSI number announced, but interpret zero as
|
||||
* invalid.
|
||||
*/
|
||||
unsigned msi_number { 1U };
|
||||
|
||||
bool apic_capable { false };
|
||||
bool msi_capable { false };
|
||||
|
Loading…
Reference in New Issue
Block a user