acrn-hypervisor/hypervisor/dm/vpci
dongshen 19c5342506 HV: remove vdev ops for sharing mode
Remove vdev ops for sharing mode, directly call the corresponding functions
instead of calling the ops callbacks (indirectly)

Remove alloc_pci_vdev() and merge its code into init_vdev_for_pdev() to simplify code

Remove @pre for local variables

Change the return value from int32_t to void to comply with misra c and
add ASSERT in the functions (if necessary) to verify the assumptions for debug build:
 vmsi_init
 vmsix_init
 vmsi_deinit
 vmsix_deinit

Add @pre for vmsix_init_helper and make it a void function, use ASSERT to verify
the assumption for debug build.

Add ASSERT in get_sos_vm

Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-18 10:08:10 +08:00
..
hostbridge.c HV: add const qualifier for the deinit vdev op functions 2019-03-18 10:08:10 +08:00
msi.c HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
msix.c HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
partition_mode.c HV: some minor code cleanup for partition mode code 2019-03-14 09:07:41 +08:00
pci_priv.h HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
pci_pt.c HV: add const qualifier for the deinit vdev op functions 2019-03-18 10:08:10 +08:00
sharing_mode.c HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
vdev.c HV: add generic vdev functions to vdev.c 2019-03-01 14:12:14 +08:00
vpci.c HV: cleanup header files under hypervisor/dm 2019-02-28 14:59:22 +08:00