acrn-hypervisor/hypervisor/include/arch/x86/guest
Junjie Mao 88f74b5dbb HV: io: unify vhm_request req and mem_io in vcpu
The current struct vcpu has two members, namely 'struct vhm_request req' and
'struct mem_io mmio', that hold similar info, including the address, direction, size,
value and status of mmio reqeusts.

As a step towards a unified framework for both MMIO/PIO, this patch unifies
these two members by a tailored version of vhm_reqeust, mostly with the reserved
fields dropped. The definitions to request types, directions and process status
are reused.

Handling errors during emulations will be revisited after the I/O emulation
paths are unified. Thus for this patch the mmio.mmio_status in inherited by
io_req.processed which is not yet properly processed.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-27 10:50:19 +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: io: separate I/O emulation interface declarations 2018-07-27 10:50:19 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vioapic.h HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vlapic.h HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vm.h add CONFIG_VM0_DESC support 2018-07-25 17:18:14 +08:00
vpic.h HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00