acrn-hypervisor/hypervisor/arch/x86/guest
Junjie Mao 69ebf4c6e6 HV: vioapic: cleaning up integral-type-related violations
This patch cleans up the integral-type-related violations after the access
pattern to RTEs is unified. Major changes include:

    1. vioapic_mmio_read(), vioapic_mmio_write() and vioapic_mmio_rw() assumes
       the size of the register to be accessed is always 4, which is checked in
       vioapic_mmio_access_handler(). Thus they no longer takes the unused
       ''size'' parameter.

    2. Typical integral-type-related violation fixes including 'U' suffixes,
       type of local variables, conversion specification in format strings, etc.

v1 -> v2:

    * Drop duplicated definitions to IOAPIC register offsets.
    * Drop the ''size'' parameter of vioapic_mmio_[read|write] and
      vioapic_mmio_rw since vioapic_mmio_access_handler() ensures that size is
      always 4.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-17 15:37:45 +08:00
..
guest.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
instr_emul_wrapper.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
instr_emul_wrapper.h HV: instr_emul: Rename emul_cnx to emul_ctxt 2018-07-09 09:27:42 +08:00
instr_emul.c HV: instr_emul: Add new function vie_update_rflags 2018-07-13 13:07:24 +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: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
vcpu.c HV:treewide:Add 16-bit atomic operations and update vpid type 2018-07-11 21:27:08 +08:00
vioapic.c HV: vioapic: cleaning up integral-type-related violations 2018-07-17 15:37:45 +08:00
vlapic_priv.h HV: vlapic: convert loop variables to unsigned 2018-07-13 10:02:44 +08:00
vlapic.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
vm.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
vmcall.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
vmsr.c HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
vpic.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00