• Home
  • Raw
  • Download

Lines Matching refs:vm_vmcb

1198     uint32_t event_inj = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj));  in handle_even_inj()
1208 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj_err), error_code); in handle_even_inj()
1210 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj), event_inj); in handle_even_inj()
1277 uint32_t event_inj = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj)); in do_interrupt()
1278 … stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj), event_inj & ~SVM_EVTINJ_VALID); in do_interrupt()
4949 env->vm_vmcb = addr; in helper_vmrun()
4984 env->intercept = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept)); in helper_vmrun()
4985 …env->intercept_cr_read = lduw_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept_cr_re… in helper_vmrun()
4986 …env->intercept_cr_write = lduw_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept_cr_wr… in helper_vmrun()
4987 …env->intercept_dr_read = lduw_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept_dr_re… in helper_vmrun()
4988 …env->intercept_dr_write = lduw_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept_dr_wr… in helper_vmrun()
4989 …env->intercept_exceptions = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.intercept_except… in helper_vmrun()
4994 env->tsc_offset = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, control.tsc_offset)); in helper_vmrun()
4996 env->gdt.base = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.gdtr.base)); in helper_vmrun()
4997 env->gdt.limit = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, save.gdtr.limit)); in helper_vmrun()
4999 env->idt.base = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.idtr.base)); in helper_vmrun()
5000 env->idt.limit = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, save.idtr.limit)); in helper_vmrun()
5003 stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_info_2), 0); in helper_vmrun()
5005 cpu_x86_update_cr0(env, ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr0))); in helper_vmrun()
5006 cpu_x86_update_cr4(env, ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr4))); in helper_vmrun()
5007 cpu_x86_update_cr3(env, ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr3))); in helper_vmrun()
5008 env->cr[2] = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr2)); in helper_vmrun()
5009 int_ctl = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_ctl)); in helper_vmrun()
5019 ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.efer))); in helper_vmrun()
5021 load_eflags(ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rflags)), in helper_vmrun()
5025 svm_load_seg_cache(env->vm_vmcb + offsetof(struct vmcb, save.es), in helper_vmrun()
5027 svm_load_seg_cache(env->vm_vmcb + offsetof(struct vmcb, save.cs), in helper_vmrun()
5029 svm_load_seg_cache(env->vm_vmcb + offsetof(struct vmcb, save.ss), in helper_vmrun()
5031 svm_load_seg_cache(env->vm_vmcb + offsetof(struct vmcb, save.ds), in helper_vmrun()
5034 EIP = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rip)); in helper_vmrun()
5036 ESP = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rsp)); in helper_vmrun()
5037 EAX = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rax)); in helper_vmrun()
5038 env->dr[7] = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.dr7)); in helper_vmrun()
5039 env->dr[6] = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, save.dr6)); in helper_vmrun()
5040 cpu_x86_set_cpl(env, ldub_phys(env->vm_vmcb + offsetof(struct vmcb, save.cpl))); in helper_vmrun()
5044 switch(ldub_phys(env->vm_vmcb + offsetof(struct vmcb, control.tlb_ctl))) { in helper_vmrun()
5060 event_inj = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj)); in helper_vmrun()
5064 … uint32_t event_inj_err = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj_err)); in helper_vmrun()
5250 uint64_t addr = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, control.msrpm_base_pa)); in helper_svm_check_intercept_param()
5290 uint64_t addr = ldq_phys(env->vm_vmcb + offsetof(struct vmcb, control.iopm_base_pa)); in helper_svm_check_io()
5294 stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_info_2), in helper_svm_check_io()
5308 ldq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_info_2)), in helper_vmexit()
5312 … stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_state), SVM_INTERRUPT_SHADOW_MASK); in helper_vmexit()
5315 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_state), 0); in helper_vmexit()
5319 svm_save_seg(env->vm_vmcb + offsetof(struct vmcb, save.es), in helper_vmexit()
5321 svm_save_seg(env->vm_vmcb + offsetof(struct vmcb, save.cs), in helper_vmexit()
5323 svm_save_seg(env->vm_vmcb + offsetof(struct vmcb, save.ss), in helper_vmexit()
5325 svm_save_seg(env->vm_vmcb + offsetof(struct vmcb, save.ds), in helper_vmexit()
5328 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.gdtr.base), env->gdt.base); in helper_vmexit()
5329 stl_phys(env->vm_vmcb + offsetof(struct vmcb, save.gdtr.limit), env->gdt.limit); in helper_vmexit()
5331 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.idtr.base), env->idt.base); in helper_vmexit()
5332 stl_phys(env->vm_vmcb + offsetof(struct vmcb, save.idtr.limit), env->idt.limit); in helper_vmexit()
5334 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.efer), env->efer); in helper_vmexit()
5335 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr0), env->cr[0]); in helper_vmexit()
5336 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr2), env->cr[2]); in helper_vmexit()
5337 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr3), env->cr[3]); in helper_vmexit()
5338 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.cr4), env->cr[4]); in helper_vmexit()
5340 int_ctl = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_ctl)); in helper_vmexit()
5345 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_ctl), int_ctl); in helper_vmexit()
5347 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rflags), compute_eflags()); in helper_vmexit()
5348 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rip), env->eip); in helper_vmexit()
5349 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rsp), ESP); in helper_vmexit()
5350 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.rax), EAX); in helper_vmexit()
5351 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.dr7), env->dr[7]); in helper_vmexit()
5352 stq_phys(env->vm_vmcb + offsetof(struct vmcb, save.dr6), env->dr[6]); in helper_vmexit()
5353 stb_phys(env->vm_vmcb + offsetof(struct vmcb, save.cpl), env->hflags & HF_CPL_MASK); in helper_vmexit()
5399 stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_code), exit_code); in helper_vmexit()
5400 stq_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_info_1), exit_info_1); in helper_vmexit()
5402 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_int_info), in helper_vmexit()
5403 ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj))); in helper_vmexit()
5404 stl_phys(env->vm_vmcb + offsetof(struct vmcb, control.exit_int_info_err), in helper_vmexit()
5405 ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.event_inj_err))); in helper_vmexit()