acrn-hypervisor/hypervisor/common
Victor Sun 3d3de6bd38 HV: specify dispatch hypercall for sos or trusty
Changes:

- In current design, the hypercall is only allowed calling from SOS or
trusty VM, so separate the trusty hypercalls from dispatch_hypercall().
The vm parameter which referenced by hcall_xxx() should be SOS VM;

- do not inject #UD for hypercalls from non-SOS, just return -ENODEV;

Tracked-On: #3214

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@Intel.com>
2019-06-12 11:00:40 +08:00
..
hv_main.c hv: distinguish between LAPIC_PASSTHROUGH configured vs enabled 2019-05-23 11:15:31 +08:00
hypercall.c HV: specify dispatch hypercall for sos or trusty 2019-06-12 11:00:40 +08:00
ptdev.c hv: release IOMMU irte when releasing ptirq remapping entries 2019-05-06 18:25:37 +08:00
schedule.c HV: remove one lock for ctx->flags operation. 2019-05-22 16:35:26 +08:00
softirq.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
stack_protector.c hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
trusty_hypercall.c hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vm_load.c HV: misra fix for patch set of Zephyr enabling 2019-06-06 09:40:52 +08:00