Home
last modified time | relevance | path

Searched refs:vmxctx (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/amd64/vmm/intel/
H A Dvmx_genassym.c42 ASSYM(VMXCTX_GUEST_RDI, offsetof(struct vmxctx, guest_rdi));
43 ASSYM(VMXCTX_GUEST_RSI, offsetof(struct vmxctx, guest_rsi));
44 ASSYM(VMXCTX_GUEST_RDX, offsetof(struct vmxctx, guest_rdx));
45 ASSYM(VMXCTX_GUEST_RCX, offsetof(struct vmxctx, guest_rcx));
46 ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8));
47 ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9));
48 ASSYM(VMXCTX_GUEST_RAX, offsetof(struct vmxctx, guest_rax));
49 ASSYM(VMXCTX_GUEST_RBX, offsetof(struct vmxctx, guest_rbx));
50 ASSYM(VMXCTX_GUEST_RBP, offsetof(struct vmxctx, guest_rbp));
51 ASSYM(VMXCTX_GUEST_R10, offsetof(struct vmxctx, guest_r10));
[all …]
H A Dvmx.c316 static int vmxctx_setreg(struct vmxctx *vmxctx, int reg, uint64_t val);
1241 vmx_handle_cpuid(struct vmx_vcpu *vcpu, struct vmxctx *vmxctx) in vmx_handle_cpuid() argument
1245 handled = x86_emulate_cpuid(vcpu->vcpu, (uint64_t *)&vmxctx->guest_rax, in vmx_handle_cpuid()
1246 (uint64_t *)&vmxctx->guest_rbx, (uint64_t *)&vmxctx->guest_rcx, in vmx_handle_cpuid()
1247 (uint64_t *)&vmxctx->guest_rdx); in vmx_handle_cpuid()
1690 struct vmxctx *vmxctx; in vmx_emulate_xsetbv() local
1694 vmxctx = &vcpu->ctx; in vmx_emulate_xsetbv()
1704 if (vmxctx->guest_rcx != 0) { in vmx_emulate_xsetbv()
1715 xcrval = vmxctx->guest_rdx << 32 | (vmxctx->guest_rax & 0xffffffff); in vmx_emulate_xsetbv()
1766 const struct vmxctx *vmxctx; in vmx_get_guest_reg() local
[all …]
H A Dvmx.h41 struct vmxctx { struct
134 struct vmxctx ctx;
170 int vmx_enter_guest(struct vmxctx *ctx, struct vmx *vmx, int launched);