acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
common HV: add hypercall to monitor UOS PTdev intr status 2018-09-25 11:09:35 +08:00
debug hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
dm/vpci HV: VPCI coding style fix 2018-09-03 11:26:30 +08:00
lib hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
public HV: add hypercall to monitor UOS PTdev intr status 2018-09-25 11:09:35 +08:00
hv_debug.h hv:Replace vuart pointer with instance in structure vm 2018-08-27 09:49:12 +08:00
hv_lib.h hv: clean up some header files 2018-09-13 13:11:57 +08:00
hypervisor.h hv: pgtable: fix 'Use of function like macro' 2018-09-07 11:11:06 +08:00