mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-11 11:33:38 +00:00
hv: PTM: Add virtual root port
Add virtual root port that supports the most basic pci-e bridge and root port operations. - init_vroot_port(): init vroot_port's basic registers. - deinit_vroot_port(): reset vroot_port - read_vroot_port_cfg(): read from vroot_port's virtual config space. - write_vroot_port_cfg(): write to vroot_port's virtual config space. Tracked-On: #5915 Signed-off-by: Rong Liu <rong.l.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Jason Chen <jason.cj.chen@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
/* Capability Register Offsets */
|
||||
#define PCICAP_ID 0x0U
|
||||
#define PCICAP_NEXTPTR 0x1U
|
||||
#define PCICAP_EXP_CAP 0x2U
|
||||
|
||||
/* Capability Identification Numbers */
|
||||
#define PCIY_MSI 0x05U
|
||||
|
Reference in New Issue
Block a user