acrn-hypervisor/hypervisor/arch/x86/guest
Junjie Mao f0a3585ebf HV: common: cleanup of remaining integral-type issues
This is the final cleanup of the integral type related issues, reported by the
static checker, under common/, mostly including

    * make explicit the narrowings of vm_ids passed by register.
    * work around the confusion of the static checker by abstracting
      sub-expressions to local variables.

The remaining reports that are not trivial to suppress will be in the scope of a
separate document.

v1 -> v2:

    * Instead of converting vm_ids inside hcall_xxx, update the prototypes of
      these functions and do the conversion in vmcall_vmexit_handler.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-23 10:23:49 +08:00
..
guest.c HV: guest: cleanup of remaining integral type violations 2018-07-23 10:23:49 +08:00
instr_emul_wrapper.c HV:INSTR_EMUL: Clean up CPU_reg_name 2018-07-19 14:08:03 +08:00
instr_emul_wrapper.h HV:INSTR_EMUL: Clean up CPU_reg_name 2018-07-19 14:08:03 +08:00
instr_emul.c HV: guest: cleanup of remaining integral type violations 2018-07-23 10:23:49 +08:00
instr_emul.h HV: instr_emul: enforce unsignedness when possible 2018-07-05 13:14:07 +08:00
pm.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
ucode.c HV: treewide: terminate 'if .. else if' constructs with 'else' 2018-07-19 14:09:36 +08:00
vcpu.c HV:treewide:Update the type of return value and parameters of atomic operations 2018-07-19 14:39:47 +08:00
vioapic.c HV: treewide: terminate 'if .. else if' constructs with 'else' 2018-07-19 14:09:36 +08:00
vlapic_priv.h HV: vlapic: convert loop variables to unsigned 2018-07-13 10:02:44 +08:00
vlapic.c HV:treewide:Update the type of return value and parameters of atomic operations 2018-07-19 14:39:47 +08:00
vm.c HV: guest: cleanup of remaining integral type violations 2018-07-23 10:23:49 +08:00
vmcall.c HV: common: cleanup of remaining integral-type issues 2018-07-23 10:23:49 +08:00
vmsr.c HV:treewide:Add exec_vmread32 and exec_vmwrite32 functions 2018-07-18 12:31:42 +08:00
vpic.c HV: guest: cleanup of remaining integral type violations 2018-07-23 10:23:49 +08:00