acrn-hypervisor/hypervisor/include/arch/x86/guest
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_pm.h HV:fixed "Pointer param should be declared pointer to const" 2018-10-19 22:49:38 +08:00
guest.h hv: x2apic support for acrn 2018-10-25 13:41:29 +08:00
mptable.h HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
ucode.h hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00
vcpu.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
vioapic.h hv: rework the MMIO handler callback hv_mem_io_handler_t arguments 2018-10-29 14:29:37 +08:00
vlapic.h hv:Remove deadcode 'vm_lapic_from_pcpuid' 2018-10-25 13:45:40 +08:00
vm0_boot.h hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00
vm.h hv: ept: remove EPT paging table for HPA to GPA 2018-10-23 09:12:51 +08:00
vpic.h vpic: change assert/deassert method 2018-10-15 15:50:55 +08:00