diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-10-24 12:49:02 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-11-16 22:08:17 +0000 |
commit | 4dcda853fd26623c09ce40cfb75e1e25c81434f1 (patch) | |
tree | 21dc53d0f3bc49f0704d108b8e78189c6eb74a64 /src/include/device/device.h | |
parent | f618b265adb434423ad8c06466e4575c7372f60e (diff) |
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>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r-- | src/include/device/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index f28a46b3bb..053138db99 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -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); |