summaryrefslogtreecommitdiff
path: root/sys/src/9/omap/arm.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-01-25 14:48:57 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-01-25 14:48:57 +0100
commit180e04ee41f988e707078620bae65d598c91314c (patch)
tree2fe41ce2cdd1610a89c62f9f68475794f4d989dc /sys/src/9/omap/arm.h
parent358f72266a774d291c3b9c569b29152ca5595ee7 (diff)
omap: fix breakpoint instruction trap handling (from sources)
Diffstat (limited to 'sys/src/9/omap/arm.h')
-rw-r--r--sys/src/9/omap/arm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/src/9/omap/arm.h b/sys/src/9/omap/arm.h
index 12443d849..0376f36fb 100644
--- a/sys/src/9/omap/arm.h
+++ b/sys/src/9/omap/arm.h
@@ -33,6 +33,12 @@
#define CpDFP 11 /* double FP */
#define CpSC 15 /* System Control */
+ /*
+ * CpFSR op1==0, Crm==0 opcode 2 values.
+ */
+#define CpDFSR 0 /* data fault status */
+#define CpIFSR 1 /* instruction fault status */
+
/*
* Primary (CRn) CpSC registers.
*/