Home
last modified time | relevance | path

Searched refs:vio (Results 1 – 4 of 4) sorted by relevance

/xen/xen/arch/x86/hvm/
A Demulate.c147 vio->mmio_cache_count = 0; in hvmemul_cancel()
148 vio->mmio_insn_bytes = 0; in hvmemul_cancel()
150 vio->mmio_retry = false; in hvmemul_cancel()
151 vio->g2m_ioport = NULL; in hvmemul_cancel()
193 p = vio->io_req; in hvmemul_do_io()
241 vio->io_req = p; in hvmemul_do_io()
1029 ++vio->mmio_cache_count; in hvmemul_find_mmio_cache()
2635 if ( vio->cache->num_ents > vio->cache->max_ents ) in _hvm_emulate_one()
2646 vio->mmio_retry = 0; in _hvm_emulate_one()
2673 memcpy(vio->mmio_insn, hvmemul_ctxt->insn_buf, vio->mmio_insn_bytes); in _hvm_emulate_one()
[all …]
A Dio.c112 struct hvm_vcpu_io *vio = &current->arch.hvm.hvm_io; in handle_mmio_with_translation() local
114 vio->mmio_access = access.gla_valid && in handle_mmio_with_translation()
117 vio->mmio_gla = gla & PAGE_MASK; in handle_mmio_with_translation()
118 vio->mmio_gpfn = gpfn; in handle_mmio_with_translation()
125 struct hvm_vcpu_io *vio = &curr->arch.hvm.hvm_io; in handle_pio() local
138 if ( hvm_ioreq_needs_completion(&vio->io_req) ) in handle_pio()
139 vio->io_completion = HVMIO_pio_completion; in handle_pio()
178 struct hvm_vcpu_io *vio = &curr->arch.hvm.hvm_io; in g2m_portio_accept() local
188 vio->g2m_ioport = g2m_ioport; in g2m_portio_accept()
199 struct hvm_vcpu_io *vio = &current->arch.hvm.hvm_io; in g2m_portio_read() local
[all …]
A Dioreq.c175 struct hvm_vcpu_io *vio = &v->arch.hvm.hvm_io; in handle_hvm_io_completion() local
204 vio->io_req.state = hvm_ioreq_needs_completion(&vio->io_req) ? in handle_hvm_io_completion()
210 io_completion = vio->io_completion; in handle_hvm_io_completion()
211 vio->io_completion = HVMIO_no_completion; in handle_hvm_io_completion()
222 return handle_pio(vio->io_req.addr, vio->io_req.size, in handle_hvm_io_completion()
223 vio->io_req.dir); in handle_hvm_io_completion()
/xen/xen/arch/x86/hvm/vmx/
A Drealmode.c156 struct hvm_vcpu_io *vio = &curr->arch.hvm.hvm_io; in vmx_realmode() local
191 if ( vio->io_req.state != STATE_IOREQ_NONE || vio->mmio_retry ) in vmx_realmode()
205 if ( vio->io_req.state != STATE_IOREQ_NONE ) in vmx_realmode()

Completed in 13 milliseconds