aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/pseudo_instructions.h
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2010-03-16 14:40:17 +0000
committerMike Frysinger <vapier@gentoo.org>2010-05-22 14:18:56 -0400
commit6ce3e9c2a2cfb8849dd471349fe5e6bc37c0f13f (patch)
tree9575e410b1fd9bbd3fab680ea4f5c3d7d8e832e0 /arch/blackfin/include/asm/pseudo_instructions.h
parentBlackfin: SMP: add flush_tlb_kernel_range stub (diff)
downloadlinux-dev-6ce3e9c2a2cfb8849dd471349fe5e6bc37c0f13f.tar.xz
linux-dev-6ce3e9c2a2cfb8849dd471349fe5e6bc37c0f13f.zip
Blackfin: add support for the DBGA (debug assert) pseudo insn
A few pseudo debug insns exist to make testing of simulators easier. Since these don't actually exist in the hardware, we have to have the exception handler take care of emulating these. This allows sim test cases to be executed unmodified under Linux and thus simplify debugging greatly. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/pseudo_instructions.h')
-rw-r--r--arch/blackfin/include/asm/pseudo_instructions.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/pseudo_instructions.h b/arch/blackfin/include/asm/pseudo_instructions.h
new file mode 100644
index 000000000000..7173719fb531
--- /dev/null
+++ b/arch/blackfin/include/asm/pseudo_instructions.h
@@ -0,0 +1,17 @@
+/*
+ * header file for pseudo instructions
+ *
+ * Copyright 2010 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#ifndef _BLACKFIN_PSEUDO_
+#define _BLACKFIN_PSEUDO_
+
+#include <linux/types.h>
+#include <asm/ptrace.h>
+
+extern bool execute_pseudodbg_assert(struct pt_regs *fp, unsigned int opcode);
+
+#endif