acrn-hypervisor/hypervisor/include
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
..
arch/x86 HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
common hv: hypercall: add support to change guest page write permission 2018-07-26 12:46:34 +08:00
debug hv:Change shell_init to void type 2018-07-25 17:06:44 +08:00
lib HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
public HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h hv: mmu: revisit mmu modify page table attributes 2018-07-19 11:11:32 +08:00