acrn-hypervisor/hypervisor/include/arch/x86/guest
Shiqing Gao 8787c06d3b hv: arch: fix 'Unused procedure parameter'
MISRA-C requires that there should be no unused parameters in
functions.

In some cases, we will keep the unused parameters.
vmexit handler is one example. It is used as function pointer.
Some of the vmexit handlers use the input parameter 'vcpu', some of
them don't. We still need to keep the unused parameters 'vcpu' for
those handlers don't use 'vcpu'.

This patch removes the unused parameters that is not being used
unconditionally.

v1 -> v2:
 * remove the non-implemented API 'vlapic_id_write_handler'

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-09-26 10:48:55 +08:00
..
gpr.h hv: move define of struct cpu_gp_regs to a separate headfile 2018-08-09 16:43:58 +08:00
guest_pm.h hv: treewide: fix 'No definition in system for prototyped procedure' 2018-07-20 10:38:32 +08:00
guest.h HV:Hypercall:Remove redundant error checking 2018-09-18 09:43:24 +08:00
mptable.h HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
vioapic.h hv:Replace vioapic pointer with instance in structure vm 2018-08-27 09:49:12 +08:00
vlapic.h hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
vm0_boot.h hv: move boot_ctx offset definitions 2018-08-14 13:05:06 +08:00
vm.h HV: modify code for intr storm detect & handling 2018-09-25 11:09:35 +08:00
vpic.h hv: fix 'Procedure is not called or referenced in code analysed' 2018-09-06 12:01:30 +08:00