mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-03 22:17:03 +00:00
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> |
||
---|---|---|
.. | ||
guest.c | ||
instr_emul_wrapper.c | ||
instr_emul_wrapper.h | ||
instr_emul.c | ||
instr_emul.h | ||
pm.c | ||
ucode.c | ||
vcpu.c | ||
vioapic.c | ||
vlapic_priv.h | ||
vlapic.c | ||
vm.c | ||
vmcall.c | ||
vmsr.c | ||
vpic.c |