]> Git Repo - J-linux.git/blob - arch/csky/kernel/probes/decode-insn.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[J-linux.git] / arch / csky / kernel / probes / decode-insn.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2
3 #ifndef __CSKY_KERNEL_KPROBES_DECODE_INSN_H
4 #define __CSKY_KERNEL_KPROBES_DECODE_INSN_H
5
6 #include <asm/sections.h>
7 #include <asm/kprobes.h>
8
9 enum probe_insn {
10         INSN_REJECTED,
11         INSN_GOOD_NO_SLOT,
12         INSN_GOOD,
13 };
14
15 #define is_insn32(insn) ((insn & 0xc000) == 0xc000)
16
17 enum probe_insn __kprobes
18 csky_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *asi);
19
20 #endif /* __CSKY_KERNEL_KPROBES_DECODE_INSN_H */
This page took 0.028939 seconds and 4 git commands to generate.