Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 11 of 11) sorted by relevance

/hypervisor/arch/x86/guest/
A Ducode.c51 uint32_t err_code; in acrn_update_ucode() local
55 err_code = 0U; in acrn_update_ucode()
56 err = copy_from_gva(vcpu, &uhdr, gva, sizeof(uhdr), &err_code, in acrn_update_ucode()
60 vcpu_inject_pf(vcpu, fault_addr, err_code); in acrn_update_ucode()
68 err_code = 0U; in acrn_update_ucode()
69 err = copy_from_gva(vcpu, micro_code, gva, data_size, &err_code, in acrn_update_ucode()
73 vcpu_inject_pf(vcpu, fault_addr, err_code); in acrn_update_ucode()
A Dguest_memory.c56 uint64_t gva, uint64_t *gpa, uint32_t *err_code) in local_gva2gpa_common() argument
164 *err_code |= PAGE_FAULT_P_FLAG; in local_gva2gpa_common()
171 uint64_t gva, uint64_t *gpa, uint32_t *err_code) in local_gva2gpa_pae() argument
216 uint32_t *err_code) in gva2gpa() argument
222 if ((gpa == NULL) || (err_code == NULL)) { in gva2gpa()
246 *err_code &= ~PAGE_FAULT_P_FLAG; in gva2gpa()
265 *err_code |= PAGE_FAULT_US_FLAG; in gva2gpa()
335 uint32_t size_arg, uint32_t *err_code, uint64_t *fault_addr, in copy_gva() argument
346 ret = gva2gpa(vcpu, gva, &gpa, err_code); in copy_gva()
404 uint32_t size, uint32_t *err_code, uint64_t *fault_addr) in copy_from_gva() argument
[all …]
A Dlock_instr_emul.c75 uint32_t err_code = 0U; in emulate_lock_instr() local
91 status = copy_from_gva(vcpu, inst, vcpu_get_rip(vcpu), 1U, &err_code, &fault_addr); in emulate_lock_instr()
95 vcpu_inject_pf(vcpu, fault_addr, err_code); in emulate_lock_instr()
A Dvirq.c190 uint32_t err_code = err_code_arg; in vcpu_queue_exception() local
214 err_code = 0U; in vcpu_queue_exception()
223 arch->exception_info.error = err_code; in vcpu_queue_exception()
281 void vcpu_inject_gp(struct acrn_vcpu *vcpu, uint32_t err_code) in vcpu_inject_gp() argument
283 (void)vcpu_queue_exception(vcpu, IDT_GP, err_code); in vcpu_inject_gp()
287 void vcpu_inject_pf(struct acrn_vcpu *vcpu, uint64_t addr, uint32_t err_code) in vcpu_inject_pf() argument
290 (void)vcpu_queue_exception(vcpu, IDT_PF, err_code); in vcpu_inject_pf()
A Dinstr_emul.c1003 uint32_t err_code; in get_gva_di_check() local
1033 err_code = PAGE_FAULT_WR_FLAG; in get_gva_di_check()
1079 uint32_t err_code; in emulate_movs() local
1653 uint32_t err_code = 0U; in emulate_xchg_for_splitlock() local
1661 err_code = PAGE_FAULT_WR_FLAG; in emulate_xchg_for_splitlock()
1682 uint32_t err_code; in vie_fetch_instruction() local
1694 err_code = PAGE_FAULT_ID_FLAG; in vie_fetch_instruction()
1696 &err_code, &fault_addr); in vie_fetch_instruction()
2279 uint32_t err_code; in instr_check_gva() local
2347 ret = gva2gpa(vcpu, gva, &gpa, &err_code); in instr_check_gva()
[all …]
A Dvmexit.c232 uint32_t err_code = 0U; in vmexit_handler() local
236 err_code = exec_vmread32(VMX_IDT_VEC_ERROR_CODE); in vmexit_handler()
238 (void)vcpu_queue_exception(vcpu, vector, err_code); in vmexit_handler()
A Dnested.c566 uint32_t seg, err_code = 0U; in get_vmx_memory_operand() local
609 (void)gva2gpa(vcpu, gva, &gpa, &err_code); in get_vmx_memory_operand()
/hypervisor/include/arch/x86/asm/guest/
A Dguest_memory.h32 int32_t gva2gpa(struct acrn_vcpu *vcpu, uint64_t gva, uint64_t *gpa, uint32_t *err_code);
97 uint32_t size, uint32_t *err_code, uint64_t *fault_addr);
112 uint32_t size, uint32_t *err_code, uint64_t *fault_addr);
A Dvirq.h63 void vcpu_inject_gp(struct acrn_vcpu *vcpu, uint32_t err_code);
74 void vcpu_inject_pf(struct acrn_vcpu *vcpu, uint64_t addr, uint32_t err_code);
/hypervisor/debug/
A Ddump.c116 uint32_t err_code = 0U; in dump_guest_stack() local
119 DUMP_STACK_SIZE, &err_code, &fault_addr) < 0) { in dump_guest_stack()
A Dshell.c866 uint32_t err_code = 0; in dump_vcpu_reg() local
916 DUMPREG_SP_SIZE*sizeof(uint64_t), &err_code, in dump_vcpu_reg()
1044 uint32_t err_code = 0; in dump_guest_mem() local
1062 if (copy_from_gva(vcpu, buf, gva, 32U, &err_code, &fault_addr) != 0) { in dump_guest_mem()
1063 printf("copy_from_gva error! err_code=0x%x fault_addr=0x%llx\r\n", err_code, fault_addr); in dump_guest_mem()

Completed in 27 milliseconds