acrn-hypervisor/hypervisor/include/arch/x86
Zide Chen 3e54c70d0f hv: rework the MMIO handler callback hv_mem_io_handler_t arguments
commit 026ae83bd5 ("hv: include: fix 'Unused procedure parameter'")
removed the then unused parameter handler_private_data from
hv_mem_io_handler_t because MISRA-C requires that there should be no
unused parameters in functions.

This patch removes vcpu from the parameter list as well since this may
not be used by all users. Also it brings back handler_private_data which
is more flexible. For example, vioapic_mmio_access_handler() can use it
to pass vcpu pointer.

Tracked-On: #861
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-10-29 14:29:37 +08:00
..
guest hv: rework the MMIO handler callback hv_mem_io_handler_t arguments 2018-10-29 14:29:37 +08:00
abl_seed_parse.h HV: parse seed from ABL 2018-10-17 14:30:52 +08:00
apicreg.h HV: refine APIC base address to platform acpi info 2018-10-18 09:26:59 +08:00
assign.h HV:fixed "Pointer param should be declared pointer to const" 2018-10-19 22:49:38 +08:00
cpu.h hv: Add MAX_PCPU_NUM in Kconfig 2018-10-29 10:14:25 +08:00
cpufeatures.h hv: x2apic support for acrn 2018-10-25 13:41:29 +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
host_pm.h HV: platform acpi info refactor 2018-10-18 09:26:59 +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: move NR_IOAPICS to platform acpi info 2018-10-18 09:26:59 +08:00
ioreq.h hv: rework the MMIO handler callback hv_mem_io_handler_t arguments 2018-10-29 14:29:37 +08:00
irq.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
lapic.h hv: x2apic support for acrn 2018-10-25 13:41:29 +08:00
mmu.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
msr.h HV:Added implementation for PMI handler function 2018-10-26 13:39:07 +08:00
mtrr.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +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 memory with static for pcpu 2018-10-29 10:14:25 +08:00
pgtable.h hv: merge pgtable_types.h and pgtable.h 2018-09-13 16:17:48 +08:00
sbl_seed_parse.h HV: parse seed from ABL 2018-10-17 14:30:52 +08:00
timer.h HV:fix type related violations 2018-10-10 13:02:00 +08:00
trusty.h HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
vmexit.h HV:fix type related violations 2018-10-10 13:02:00 +08:00
vmx.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
vtd.h HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00