acrn-hypervisor/hypervisor/arch/x86
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
..
boot function name change in init.c 2018-12-19 09:07:14 +08:00
configs hv: vmconfig: format guest flag with prefix GUEST_FLAG_ 2019-03-16 17:14:12 +08:00
guest HV: remove vdev ops for sharing mode 2019-03-18 10:08:10 +08:00
seed hv: seed: refine header file 2019-03-15 14:09:56 +08:00
cat.c HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
cpu_caps.c hv: vlapic: minor fix about detect_apicv_cap 2019-03-12 20:37:06 +08:00
cpu_state_tbl.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
cpu.c hv: merge SBL and UEFI related stuff under bsp 2019-03-13 10:26:55 +08:00
e820.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c hv: refactor seed management 2019-03-14 10:38:17 +08:00
ioapic.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
irq.c hv: merge SBL and UEFI related stuff under bsp 2019-03-13 10:26:55 +08:00
Kconfig hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
lapic.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
mmu.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00
notify.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
page.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pagetable.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pm.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
sched.S replace arch_switch_to with pure asm code instead of inline asm 2019-01-25 11:39:47 +08:00
security.c hv: coding style: refine cpu related function to one exit 2018-12-21 13:34:01 +08:00
static_checks.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
timer.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
trampoline.c hv: merge SBL and UEFI related stuff under bsp 2019-03-13 10:26:55 +08:00
vmx.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
vtd.c hv: vtd: check bus number when assign/unassign device 2019-03-14 13:07:59 +08:00
wakeup.S HV: modularization to refine pm related code. 2018-12-19 13:02:09 +08:00