diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-11-09 08:27:40 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-12-08 07:02:27 +0100 |
commit | 09a072947791088b88ae15111cf68fc5aaaf758d (patch) | |
tree | 510728ca3d3906a352cfc673e7f3e38e471165b4 /arch/sh/include/asm/kdebug.h | |
parent | Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-09a072947791088b88ae15111cf68fc5aaaf758d.tar.xz linux-09a072947791088b88ae15111cf68fc5aaaf758d.zip |
sh: hw-breakpoints: Add preliminary support for SH-4A UBC.
This adds preliminary support for the SH-4A UBC to the hw-breakpoints API.
Presently only a single channel is implemented, and the ptrace interface
still needs to be converted. This is the first step to cleaning up the
long-standing UBC mess, making the UBC more generally accessible, and
finally making it SMP safe.
An additional abstraction will be layered on top of this as with the perf
events code to permit the various CPU families to wire up support for
their own specific UBCs, as many variations exist.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/kdebug.h')
-rw-r--r-- | arch/sh/include/asm/kdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/kdebug.h b/arch/sh/include/asm/kdebug.h index 985219f9759e..5f6d2e9ccb7c 100644 --- a/arch/sh/include/asm/kdebug.h +++ b/arch/sh/include/asm/kdebug.h @@ -6,6 +6,8 @@ enum die_val { DIE_TRAP, DIE_NMI, DIE_OOPS, + DIE_BREAKPOINT, + DIE_SSTEP, }; #endif /* __ASM_SH_KDEBUG_H */ |