Linux Kernel
3.7.1
|
#include <asm/inat_types.h>
Go to the source code of this file.
Functions | |
insn_attr_t | inat_get_opcode_attribute (insn_byte_t opcode) |
int | inat_get_last_prefix_id (insn_byte_t last_pfx) |
insn_attr_t | inat_get_escape_attribute (insn_byte_t opcode, int lpfx_id, insn_attr_t esc_attr) |
insn_attr_t | inat_get_group_attribute (insn_byte_t modrm, int lpfx_id, insn_attr_t esc_attr) |
insn_attr_t | inat_get_avx_attribute (insn_byte_t opcode, insn_byte_t vex_m, insn_byte_t vex_pp) |
#define INAT_ESC_MASK (INAT_ESC_MAX << INAT_ESC_OFFS) |
#define INAT_ESC_MAX ((1 << INAT_ESC_BITS) - 1) |
#define INAT_ESC_OFFS (INAT_PFX_OFFS + INAT_PFX_BITS) |
#define INAT_FLAG_OFFS (INAT_IMM_OFFS + INAT_IMM_BITS) |
#define INAT_FORCE64 (1 << (INAT_FLAG_OFFS + 1)) |
#define INAT_GRP_MASK (INAT_GRP_MAX << INAT_GRP_OFFS) |
#define INAT_GRP_MAX ((1 << INAT_GRP_BITS) - 1) |
#define INAT_GRP_OFFS (INAT_ESC_OFFS + INAT_ESC_BITS) |
#define INAT_IMM_MASK (((1 << INAT_IMM_BITS) - 1) << INAT_IMM_OFFS) |
#define INAT_IMM_OFFS (INAT_GRP_OFFS + INAT_GRP_BITS) |
#define INAT_MAKE_ESCAPE | ( | esc | ) | (esc << INAT_ESC_OFFS) |
#define INAT_MAKE_GROUP | ( | grp | ) | ((grp << INAT_GRP_OFFS) | INAT_MODRM) |
#define INAT_MAKE_IMM | ( | imm | ) | (imm << INAT_IMM_OFFS) |
#define INAT_MAKE_PREFIX | ( | pfx | ) | (pfx << INAT_PFX_OFFS) |
#define INAT_MODRM (1 << (INAT_FLAG_OFFS)) |
#define INAT_MOFFSET (1 << (INAT_FLAG_OFFS + 3)) |
#define INAT_PFX_MASK (INAT_PFX_MAX << INAT_PFX_OFFS) |
#define INAT_PFX_MAX ((1 << INAT_PFX_BITS) - 1) |
#define INAT_SCNDIMM (1 << (INAT_FLAG_OFFS + 2)) |
#define INAT_VARIANT (1 << (INAT_FLAG_OFFS + 4)) |
#define INAT_VEXOK (1 << (INAT_FLAG_OFFS + 5)) |
#define INAT_VEXONLY (1 << (INAT_FLAG_OFFS + 6)) |
insn_attr_t inat_get_avx_attribute | ( | insn_byte_t | opcode, |
insn_byte_t | vex_m, | ||
insn_byte_t | vex_pp | ||
) |
insn_attr_t inat_get_escape_attribute | ( | insn_byte_t | opcode, |
int | lpfx_id, | ||
insn_attr_t | esc_attr | ||
) |
insn_attr_t inat_get_group_attribute | ( | insn_byte_t | modrm, |
int | lpfx_id, | ||
insn_attr_t | esc_attr | ||
) |
int inat_get_last_prefix_id | ( | insn_byte_t | last_pfx | ) |
insn_attr_t inat_get_opcode_attribute | ( | insn_byte_t | opcode | ) |