acrn-hypervisor/hypervisor/include/hw
Fei Li 0a515ab2ea hv: pci: fix a minor bug about is_pci_cfg_multifunction
Before checking whether a PCI device is a Multi-Function Device or not, we need
make sure this PCI device is a valid PCI device. For a valid PCI device, the
'Header Layout' field in Header Type Register must be 000 0000b (Type 0 PCI device)
or 000 0001b (Type 1 PCI device).

So for a valid PCI device, the Header Type can't be 0xff.

Tracked-On: #4134
Signed-off-by: Fei Li <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-09-15 13:24:18 +08:00
..
hw_timer.h hv/mod_timer: make timer into an arch-independent module 2021-05-18 16:43:28 +08:00
pci.h hv: pci: fix a minor bug about is_pci_cfg_multifunction 2021-09-15 13:24:18 +08:00