diff options
author | Jens Osterkamp <jens@de.ibm.com> | 2008-02-28 11:26:21 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2008-03-03 08:03:14 +0100 |
commit | 9176c0b1f5a9099cebc07458042ae6a7c75af7b2 (patch) | |
tree | 80dedb71f8cd01f8b1fa37612fdf57a6f5caeb06 /include | |
parent | 101fd46a753f8931a05d252bf5564c9415a5f8d7 (diff) |
[POWERPC] move celleb DABRX definitions
This moves the private DABRX definitions for celleb from beat.h to
reg.h to make them usable for all.
Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index 0d6238987df..edc0cfd7f6e 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h @@ -153,6 +153,9 @@ #define CTRL_RUNLATCH 0x1 #define SPRN_DABR 0x3F5 /* Data Address Breakpoint Register */ #define DABR_TRANSLATION (1UL << 2) +#define SPRN_DABRX 0x3F7 /* Data Address Breakpoint Register Extension */ +#define DABRX_USER (1UL << 0) +#define DABRX_KERNEL (1UL << 1) #define SPRN_DAR 0x013 /* Data Address Register */ #define SPRN_DSISR 0x012 /* Data Storage Interrupt Status Register */ #define DSISR_NOHPTE 0x40000000 /* no translation found */ |