Home
last modified time | relevance | path

Searched refs:modrm_reg (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/tools/objtool/arch/x86/
Ddecode.c78 modrm_reg = 0, sib = 0; in arch_decode_instruction() local
112 modrm_reg = X86_MODRM_REG(modrm); in arch_decode_instruction()
128 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
199 if (rex_w && !rex_r && modrm_mod == 3 && modrm_reg == 4) { in arch_decode_instruction()
215 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
229 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
239 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
256 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
267 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
286 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dkvm_emulate.h39 u8 modrm_reg; /* index of register used */ member
341 u8 modrm_reg; member
/Linux-v5.4/arch/x86/kvm/
Demulate.c501 .modrm_reg = ctxt->modrm_reg, in emulator_check_intercept()
959 static void *decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, in decode_register() argument
965 if (highbyte_regs && modrm_reg >= 4 && modrm_reg < 8) in decode_register()
966 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register()
968 p = reg_rmw(ctxt, modrm_reg); in decode_register()
1199 unsigned reg = ctxt->modrm_reg; in decode_register_operand()
1241 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm()
1246 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm()
1991 if (ctxt->modrm_reg == VCPU_SREG_SS) in em_pop_sreg()
3665 if (ctxt->ops->set_cr(ctxt, ctxt->modrm_reg, ctxt->src.val)) in em_cr_write()
[all …]
Dsvm.c6073 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
6080 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
6109 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()