aboutsummaryrefslogtreecommitdiff
path: root/src/target/xscale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/xscale.h')
-rw-r--r--src/target/xscale.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index c5cd7b77..a71ec351 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -176,4 +176,15 @@ enum {
#define ERROR_XSCALE_NO_TRACE_DATA (-700)
+/* DCSR bit and field definitions */
+#define DCSR_TR (1 << 16)
+#define DCSR_TU (1 << 17)
+#define DCSR_TS (1 << 18)
+#define DCSR_TA (1 << 19)
+#define DCSR_TD (1 << 20)
+#define DCSR_TI (1 << 22)
+#define DCSR_TF (1 << 23)
+#define DCSR_TRAP_MASK \
+ (DCSR_TF | DCSR_TI | DCSR_TD | DCSR_TA | DCSR_TS | DCSR_TU | DCSR_TR)
+
#endif /* XSCALE_H */