Lines Matching refs:msr_data

2361 	u64 msr_data;  in em_syscall()  local
2386 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2387 msr_data >>= 32; in em_syscall()
2388 cs_sel = (u16)(msr_data & 0xfffc); in em_syscall()
2389 ss_sel = (u16)(msr_data + 8); in em_syscall()
2405 MSR_LSTAR : MSR_CSTAR, &msr_data); in em_syscall()
2406 ctxt->_eip = msr_data; in em_syscall()
2408 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
2409 ctxt->eflags &= ~msr_data; in em_syscall()
2414 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2415 ctxt->_eip = (u32)msr_data; in em_syscall()
2428 u64 msr_data; in em_sysenter() local
2449 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysenter()
2450 if ((msr_data & 0xfffc) == 0x0) in em_sysenter()
2455 cs_sel = (u16)msr_data & ~SEGMENT_RPL_MASK; in em_sysenter()
2465 ops->get_msr(ctxt, MSR_IA32_SYSENTER_EIP, &msr_data); in em_sysenter()
2466 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter()
2468 ops->get_msr(ctxt, MSR_IA32_SYSENTER_ESP, &msr_data); in em_sysenter()
2469 *reg_write(ctxt, VCPU_REGS_RSP) = (efer & EFER_LMA) ? msr_data : in em_sysenter()
2470 (u32)msr_data; in em_sysenter()
2481 u64 msr_data, rcx, rdx; in em_sysexit() local
2502 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysexit()
2505 cs_sel = (u16)(msr_data + 16); in em_sysexit()
2506 if ((msr_data & 0xfffc) == 0x0) in em_sysexit()
2508 ss_sel = (u16)(msr_data + 24); in em_sysexit()
2513 cs_sel = (u16)(msr_data + 32); in em_sysexit()
2514 if (msr_data == 0x0) in em_sysexit()
3317 u64 msr_data; in em_wrmsr() local
3320 msr_data = (u32)reg_read(ctxt, VCPU_REGS_RAX) in em_wrmsr()
3322 r = ctxt->ops->set_msr_with_filter(ctxt, msr_index, msr_data); in em_wrmsr()
3333 u64 msr_data; in em_rdmsr() local
3336 r = ctxt->ops->get_msr_with_filter(ctxt, msr_index, &msr_data); in em_rdmsr()
3342 *reg_write(ctxt, VCPU_REGS_RAX) = (u32)msr_data; in em_rdmsr()
3343 *reg_write(ctxt, VCPU_REGS_RDX) = msr_data >> 32; in em_rdmsr()