device: Add helper to identify PCI IOAPICs
Add a helper function to identify PCI IOAPICs. Will be used in the following commits. Change-Id: Ibe50934260b025575440fd52eace73fe2327a193 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
This commit is contained in:
parent
f618b265ad
commit
4dcda853fd
2 changed files with 9 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ bool is_pci(const struct device *pci);
|
|||
bool is_enabled_pci(const struct device *pci);
|
||||
bool is_pci_dev_on_bus(const struct device *pci, unsigned int bus);
|
||||
bool is_pci_bridge(const struct device *pci);
|
||||
bool is_pci_ioapic(const struct device *pci);
|
||||
bool is_domain0(const struct device *dev);
|
||||
bool is_dev_on_domain0(const struct device *dev);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue