Lines Matching refs:msr_data
2402 u64 msr_data; in em_syscall() local
2419 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2420 msr_data >>= 32; in em_syscall()
2421 cs_sel = (u16)(msr_data & 0xfffc); in em_syscall()
2422 ss_sel = (u16)(msr_data + 8); in em_syscall()
2438 MSR_LSTAR : MSR_CSTAR, &msr_data); in em_syscall()
2439 ctxt->_eip = msr_data; in em_syscall()
2441 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
2442 ctxt->eflags &= ~msr_data; in em_syscall()
2447 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2448 ctxt->_eip = (u32)msr_data; in em_syscall()
2461 u64 msr_data; in em_sysenter() local
2482 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysenter()
2483 if ((msr_data & 0xfffc) == 0x0) in em_sysenter()
2488 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()
2498 ops->get_msr(ctxt, MSR_IA32_SYSENTER_EIP, &msr_data); in em_sysenter()
2499 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter()
2501 ops->get_msr(ctxt, MSR_IA32_SYSENTER_ESP, &msr_data); in em_sysenter()
2502 *reg_write(ctxt, VCPU_REGS_RSP) = (efer & EFER_LMA) ? msr_data : in em_sysenter()
2503 (u32)msr_data; in em_sysenter()
2514 u64 msr_data, rcx, rdx; in em_sysexit() local
2535 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysexit()
2538 cs_sel = (u16)(msr_data + 16); in em_sysexit()
2539 if ((msr_data & 0xfffc) == 0x0) in em_sysexit()
2541 ss_sel = (u16)(msr_data + 24); in em_sysexit()
2546 cs_sel = (u16)(msr_data + 32); in em_sysexit()
2547 if (msr_data == 0x0) in em_sysexit()
3343 u64 msr_data; in em_wrmsr() local
3346 msr_data = (u32)reg_read(ctxt, VCPU_REGS_RAX) in em_wrmsr()
3348 r = ctxt->ops->set_msr_with_filter(ctxt, msr_index, msr_data); in em_wrmsr()
3359 u64 msr_data; in em_rdmsr() local
3362 r = ctxt->ops->get_msr_with_filter(ctxt, msr_index, &msr_data); in em_rdmsr()
3368 *reg_write(ctxt, VCPU_REGS_RAX) = (u32)msr_data; in em_rdmsr()
3369 *reg_write(ctxt, VCPU_REGS_RDX) = msr_data >> 32; in em_rdmsr()