acrn-hypervisor/hypervisor/common
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
..
hv_main.c add CONFIG_VM0_DESC support 2018-07-25 17:18:14 +08:00
hypercall.c hv: mmu: refine delete page table mapping 2018-07-26 12:46:34 +08:00
io_request.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
ptdev.c HV: common: cleanup of remaining integral-type issues 2018-07-23 10:23:49 +08:00
schedule.c HV: common: cleanup of remaining integral-type issues 2018-07-23 10:23:49 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV: hypercall: make hypercall functions return int32_t 2018-07-23 10:23:49 +08:00
vm_load.c HV: common: cleanup of remaining integral-type issues 2018-07-23 10:23:49 +08:00