blob: 5cab1b1da84d76d9f915891f5af189cc1c56893c [file] [log] [blame]
Ricardo Neri32542ee2017-10-27 13:25:36 -07001#ifndef _ASM_X86_INSN_EVAL_H
2#define _ASM_X86_INSN_EVAL_H
3/*
4 * A collection of utility functions for x86 instruction analysis to be
5 * used in a kernel context. Useful when, for instance, making sense
6 * of the registers indicated by operands.
7 */
8
9#include <linux/compiler.h>
10#include <linux/bug.h>
11#include <linux/err.h>
12#include <asm/ptrace.h>
13
14void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs);
15
16#endif /* _ASM_X86_INSN_EVAL_H */