mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
hv: vpci: add emulated PCI device configure for SOS
Add emulated PCI device configure for SOS to prepare for add support for customizing special pci operations for each emulated PCI device. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
973ba5b63f
commit
ff54fa2325
@@ -7,11 +7,13 @@
|
||||
#ifndef PCI_DEV_H_
|
||||
#define PCI_DEV_H_
|
||||
|
||||
#include <vpci.h>
|
||||
#include <vm_config.h>
|
||||
|
||||
struct acrn_vm_config;
|
||||
#define SOS_EMULATED_PCI_DEV_NUM 1U
|
||||
|
||||
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
|
||||
struct pci_pdev;
|
||||
void fill_pci_dev_config(struct pci_pdev *pdev);
|
||||
void initialize_sos_pci_dev_config(struct acrn_vm_config *vm_config);
|
||||
|
||||
#endif /* PCI_DEV_H_ */
|
||||
|
Reference in New Issue
Block a user