acrn-hypervisor/hypervisor/arch/x86/guest
Junjie Mao ab156c9633 HV: instr_emul: convert return value of get_vmcs_field to unsigned
get_vmcs_field() returns a VMCS field offset which is normally unsigned, but it
also returns negatives (-1 here) on invalid arguments. Following the convention
we use for vectors, pins, etc., use a special unsigned value to indicate such
errors.

v1 -> v2:

    * Use a special value (VMX_INVALID_VMCS_FIELD) instead of a seperate output
      parameter to indicate errors.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-07-05 13:14:07 +08:00
..
guest.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
instr_emul_wrapper.c HV: instr_emul: convert return value of get_vmcs_field to unsigned 2018-07-05 13:14:07 +08:00
instr_emul_wrapper.h treewide: instr_emul: rename vm_reg to cpu_reg 2018-07-05 13:14:07 +08:00
instr_emul.c treewide: instr_emul: rename vm_reg to cpu_reg 2018-07-05 13:14:07 +08:00
instr_emul.h treewide: instr_emul: rename vm_reg to cpu_reg 2018-07-05 13:14:07 +08:00
pm.c HV:guest:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
ucode.c HV:guest:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
vcpu.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
vioapic.c HV:guest:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
vlapic_priv.h hv:merge struct lapic and lapic_regs to lapic_regs 2018-07-02 10:49:14 +08:00
vlapic.c HV:guest:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
vm.c HV:guest:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
vmcall.c HV: Make all trace event prefix consist with TRACE 2018-07-02 10:46:41 +08:00
vmsr.c HV:guest:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
vpic.c HV:treewide:Update return type of function ffs64 and ffz64 2018-07-02 15:11:22 +08:00