diff options
author | Robin Getz <robin.getz@analog.com> | 2010-03-16 17:40:17 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-22 22:18:56 +0400 |
commit | 6ce3e9c2a2cfb8849dd471349fe5e6bc37c0f13f (patch) | |
tree | 9575e410b1fd9bbd3fab680ea4f5c3d7d8e832e0 /arch/blackfin/include/asm/pseudo_instructions.h | |
parent | 2620c83668660d950cb4295aeb7147f1e599c638 (diff) | |
download | linux-6ce3e9c2a2cfb8849dd471349fe5e6bc37c0f13f.tar.xz |
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.h | 17 |
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 |