Home
last modified time | relevance | path

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

/Linux-v4.19/tools/objtool/arch/x86/
Ddecode.c90 modrm_reg = 0, sib = 0; in arch_decode_instruction() local
124 modrm_reg = X86_MODRM_REG(modrm); in arch_decode_instruction()
140 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
211 if (rex_w && !rex_r && modrm_mod == 3 && modrm_reg == 4) { in arch_decode_instruction()
227 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
241 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
251 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
268 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
279 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
298 op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dkvm_emulate.h39 u8 modrm_reg; /* index of register used */ member
339 u8 modrm_reg; member
/Linux-v4.19/arch/x86/kvm/
Demulate.c485 .modrm_reg = ctxt->modrm_reg, in emulator_check_intercept()
943 static void *decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, in decode_register() argument
949 if (highbyte_regs && modrm_reg >= 4 && modrm_reg < 8) in decode_register()
950 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register()
952 p = reg_rmw(ctxt, modrm_reg); in decode_register()
1183 unsigned reg = ctxt->modrm_reg; in decode_register_operand()
1225 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm()
1230 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm()
1975 if (ctxt->modrm_reg == VCPU_SREG_SS) in em_pop_sreg()
3627 if (ctxt->ops->set_cr(ctxt, ctxt->modrm_reg, ctxt->src.val)) in em_cr_write()
[all …]
Dsvm.c6002 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
6009 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
6038 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()