Home
last modified time | relevance | path

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

/linux-6.1.9/tools/objtool/arch/x86/
Ddecode.c129 modrm = 0, modrm_mod = 0, modrm_rm = 0, modrm_reg = 0, in arch_decode_instruction() local
169 modrm_reg = X86_MODRM_REG(modrm) + 8*rex_r; in arch_decode_instruction()
189 op->src.reg = modrm_reg; in arch_decode_instruction()
263 switch (modrm_reg & 7) { in arch_decode_instruction()
300 if (modrm_reg == CFI_SP) { in arch_decode_instruction()
343 op->src.reg = modrm_reg; in arch_decode_instruction()
360 op->src.reg = modrm_reg; in arch_decode_instruction()
373 op->src.reg = modrm_reg; in arch_decode_instruction()
395 op->dest.reg = modrm_reg; in arch_decode_instruction()
408 op->dest.reg = modrm_reg; in arch_decode_instruction()
[all …]
/linux-6.1.9/arch/x86/kvm/
Dkvm_emulate.h40 u8 modrm_reg; /* index of register used */ member
367 u8 modrm_reg; member
Demulate.c504 .modrm_reg = ctxt->modrm_reg, in emulator_check_intercept()
1004 static void *decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, in decode_register() argument
1010 if (highbyte_regs && modrm_reg >= 4 && modrm_reg < 8) in decode_register()
1011 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register()
1013 p = reg_rmw(ctxt, modrm_reg); in decode_register()
1172 reg = ctxt->modrm_reg; in decode_register_operand()
1213 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm()
1218 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm()
3644 int cr_num = ctxt->modrm_reg; in em_cr_write()
3676 if (ctxt->ops->set_dr(ctxt, ctxt->modrm_reg, val) < 0) in em_dr_write()
[all …]
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c4244 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
4250 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
4278 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()