acrn-hypervisor/hypervisor/include/arch/x86
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
..
guest hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
apicreg.h HV:fix potential buffer overflow issues 2018-09-18 16:14:27 +08:00
assign.h hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
cpu.h hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
cpufeatures.h HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpuid.h hv:Replace vlapic pointer with instance in vcpu_arch 2018-09-12 09:20:07 +08:00
gdt.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
hob_parse.h HV: handle integral issues as MISRA-C report 2018-07-20 10:39:46 +08:00
host_pm.h hv: trap vm0 write/read pm1a/pm1b registers 2018-06-29 00:50:01 +08:00
hv_arch.h hv: merge pgtable_types.h and pgtable.h 2018-09-13 16:17:48 +08:00
idt.h HV:treewide:transfer the struct member types to non-basic types 2018-06-29 15:48:19 +08:00
io.h hv: add mmio functions for 64bit values 2018-08-23 11:09:25 +08:00
ioapic.h hv: ioapic: convert some MACROs to inline functions 2018-09-25 11:09:56 +08:00
ioreq.h hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
irq.h hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
lapic.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
mmu.h hv: fix 'Static procedure is not explicitly called in code analysed' 2018-09-25 13:06:54 +08:00
msr.h hv: treewide: fix 'Use of function like macro' 2018-09-11 10:49:48 +08:00
mtrr.h HV: remove 'warm_reboot()'function and other minor cleanup 2018-08-14 09:54:48 +08:00
multiboot.h hv: Partition mode ACRN -kernel load and bootargs load address 2018-08-13 09:34:02 +08:00
per_cpu.h hv: Replace dynamic allocation with static memory for vmxon_region 2018-09-07 10:23:04 +08:00
pgtable.h hv: merge pgtable_types.h and pgtable.h 2018-09-13 16:17:48 +08:00
timer.h HV: modify code for intr storm detect & handling 2018-09-25 11:09:35 +08:00
trusty.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
vmexit.h hv: treewide: convert some MACROs to inline functions 2018-09-04 12:27:18 +08:00
vmx.h hv: add SMAP/SMEP check during guest page walking 2018-09-13 09:21:59 +08:00
vtd.h hv: vtd: use EPT as translation table for PTDev in SOS 2018-08-23 11:46:57 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00