diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2014-11-18 14:41:22 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-20 19:33:43 +0300 |
commit | 9b79f52d1a702dd5b160f9d2ee0199c3122809bb (patch) | |
tree | 497967506563c89d76c9853408b7e271c7d400f5 /arch/arm64/include/asm/insn.h | |
parent | f97fc810798c261b2790c2a1660461a508a479e0 (diff) | |
download | linux-9b79f52d1a702dd5b160f9d2ee0199c3122809bb.tar.xz |
arm64: Add support for hooks to handle undefined instructions
Add support to register hooks for undefined instructions. The handlers
will be called when the undefined instruction and the processor state
(as contained in pstate) match criteria used at registration.
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/insn.h')
-rw-r--r-- | arch/arm64/include/asm/insn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/insn.h b/arch/arm64/include/asm/insn.h index 56a9e63b6c33..1bb043018315 100644 --- a/arch/arm64/include/asm/insn.h +++ b/arch/arm64/include/asm/insn.h @@ -354,6 +354,8 @@ bool aarch64_insn_hotpatch_safe(u32 old_insn, u32 new_insn); int aarch64_insn_patch_text_nosync(void *addr, u32 insn); int aarch64_insn_patch_text_sync(void *addrs[], u32 insns[], int cnt); int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt); + +bool aarch32_insn_is_wide(u32 insn); #endif /* __ASSEMBLY__ */ #endif /* __ASM_INSN_H */ |