diff options
author | Kirill A. Shutemov <[email protected]> | 2021-11-30 21:49:31 +0300 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2021-11-30 14:53:04 -0800 |
commit | d5ec1877df6da6a14bbc353aff50689528930dd2 (patch) | |
tree | a5e6b273c022191205ade9be185fa33e83b97b3d /scripts/bpf_doc.py | |
parent | 23ef731e4365196bfc186358eb4f6265d60ab352 (diff) |
x86/insn-eval: Introduce insn_get_modrm_reg_ptr()
The helper returns a pointer to the register indicated by
ModRM byte.
It's going to replace vc_insn_get_reg() in the SEV MMIO
implementation. TDX MMIO implementation will also use it.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Tested-by: Joerg Roedel <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions