mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: config: add msix emulation support
The information needed to enable MSI-x emulation. Only enable MSI-x emuation for the devices in msix_emul_devs array. Currently, only EHL has the need to enable MSI-x emulation for TSN devices. Tracked-On: #4831 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -20,6 +20,11 @@ struct platform_clos_info {
|
||||
uint32_t msr_index;
|
||||
};
|
||||
|
||||
struct vmsix_on_msi_info {
|
||||
union pci_bdf bdf;
|
||||
uint64_t mmio_base;
|
||||
};
|
||||
|
||||
extern struct dmar_info plat_dmar_info;
|
||||
|
||||
#ifdef CONFIG_RDT_ENABLED
|
||||
@@ -30,5 +35,6 @@ extern struct platform_clos_info platform_mba_clos_array[MAX_PLATFORM_CLOS_NUM];
|
||||
|
||||
extern const struct cpu_state_table board_cpu_state_tbl;
|
||||
extern const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
|
||||
extern const struct vmsix_on_msi_info vmsix_on_msi_devs[MAX_VMSIX_ON_MSI_PDEVS_NUM];
|
||||
|
||||
#endif /* BOARD_H */
|
||||
|
Reference in New Issue
Block a user