sh: hw-breakpoints: Add preliminary support for SH-4A UBC.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 9 Nov 2009 07:27:40 +0000 (16:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 8 Dec 2009 06:02:27 +0000 (15:02 +0900)
commit09a072947791088b88ae15111cf68fc5aaaf758d
tree510728ca3d3906a352cfc673e7f3e38e471165b4
parent6ec22f9b037fc0c2e00ddb7023fad279c365324d
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>
13 files changed:
arch/sh/Kconfig
arch/sh/include/asm/Kbuild
arch/sh/include/asm/hw_breakpoint.h [new file with mode: 0644]
arch/sh/include/asm/kdebug.h
arch/sh/include/asm/processor_32.h
arch/sh/include/asm/system.h
arch/sh/include/asm/thread_info.h
arch/sh/include/asm/ubc.h
arch/sh/kernel/Makefile
arch/sh/kernel/cpu/sh3/ex.S
arch/sh/kernel/hw_breakpoint.c [new file with mode: 0644]
arch/sh/kernel/process_32.c
arch/sh/kernel/ptrace_32.c