acrn-hypervisor/hypervisor/arch/x86
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
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
guest HV: vioapic: cleaning up integral-type-related violations 2018-07-17 15:37:45 +08:00
assign.c HV: ioapic: unify the access pattern to RTEs 2018-07-17 15:37:45 +08:00
cpu_primary.S HV:treewide:Add 16-bit atomic operations and update vpid type 2018-07-11 21:27:08 +08:00
cpu_state_tbl.c HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpu.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
cpuid.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
ept.c HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
gdt.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
ioapic.c HV: vioapic: cleaning up integral-type-related violations 2018-07-17 15:37:45 +08:00
irq.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
Kconfig HV: build: make relocation-related code configurable 2018-07-11 19:18:26 +08:00
lapic.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
mmu.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
mtrr.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
notify.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
pm.c HV: pm: cleanup for misra integral type violations 2018-07-12 17:31:11 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
timer.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
trampoline.S HV:treewide:Add 16-bit atomic operations and update vpid type 2018-07-11 21:27:08 +08:00
trusty2.c [REVERT-ME]:handle discontinuous hpa for trusty 2018-07-11 11:11:24 +08:00
trusty.c HV:transfer vmid's type to uint16_t 2018-07-13 14:13:38 +08:00
virq.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
vmexit.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
vmx_asm.S HV:CPU:Constant values replace with CPU MACRO 2018-07-09 09:24:56 +08:00
vmx.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
vtd.c HV:misc:fix "signed/unsigned conversion with cast" 2018-07-16 15:45:40 +08:00
wakeup.S HV:CPU:Fix a mistake introduced by MARCO replacing patch 2018-07-13 11:27:56 +08:00