diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-03-03 03:33:05 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-11 02:10:16 -0400 |
commit | c9c38320e80aea06f1b5541a20be8bda508691e3 (patch) | |
tree | 0e06bbe15c11a2a7c64212dac0426f7ea53c676b /arch/powerpc/include/asm/reg.h | |
parent | 9dca4efe88a8987b6e8496facc74de0555cc6617 (diff) |
powerpc: Add missing DABR flags
The powerpc 64 bit architecture defines three flags for the
DABR (Data Address Breakpoint Register). Add definitions
for the currently missing DABR_DATA_WRITE and DABR_DATA_READ
flags to the powerpc reg.h file.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/reg.h')
-rw-r--r-- | arch/powerpc/include/asm/reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index f484a343efba..c9ff1ec97479 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h | |||
@@ -155,6 +155,8 @@ | |||
155 | #define CTRL_RUNLATCH 0x1 | 155 | #define CTRL_RUNLATCH 0x1 |
156 | #define SPRN_DABR 0x3F5 /* Data Address Breakpoint Register */ | 156 | #define SPRN_DABR 0x3F5 /* Data Address Breakpoint Register */ |
157 | #define DABR_TRANSLATION (1UL << 2) | 157 | #define DABR_TRANSLATION (1UL << 2) |
158 | #define DABR_DATA_WRITE (1UL << 1) | ||
159 | #define DABR_DATA_READ (1UL << 0) | ||
158 | #define SPRN_DABR2 0x13D /* e300 */ | 160 | #define SPRN_DABR2 0x13D /* e300 */ |
159 | #define SPRN_DABRX 0x3F7 /* Data Address Breakpoint Register Extension */ | 161 | #define SPRN_DABRX 0x3F7 /* Data Address Breakpoint Register Extension */ |
160 | #define DABRX_USER (1UL << 0) | 162 | #define DABRX_USER (1UL << 0) |