1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2015 Josh Poimboeuf <jpoimboe@redhat.com>
10 #include <linux/list.h>
15 INSN_JUMP_CONDITIONAL,
16 INSN_JUMP_UNCONDITIONAL,
42 enum op_dest_type type;
58 enum op_src_type type;
68 void arch_initial_func_cfi_state(struct cfi_state *state);
70 int arch_decode_instruction(struct elf *elf, struct section *sec,
71 unsigned long offset, unsigned int maxlen,
72 unsigned int *len, enum insn_type *type,
73 unsigned long *immediate, struct stack_op *op);
75 bool arch_callee_saved_reg(unsigned char reg);