aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-04-12 19:35:53 +0000
committerPaul Brook <paul@codesourcery.com>2005-04-12 19:35:53 +0000
commit338fbd7b1df695b3ae424802dc80051750331e13 (patch)
tree26551f16b10ec5cadf5dbb713c072fd2663afde3 /include/opcode
parentbc4bd9abb2ea8274c9acc51221ba1dd7696c639d (diff)
downloadgdb-338fbd7b1df695b3ae424802dc80051750331e13.zip
gdb-338fbd7b1df695b3ae424802dc80051750331e13.tar.gz
gdb-338fbd7b1df695b3ae424802dc80051750331e13.tar.bz2
2005-04-12 Paul Brook <paul@codesourcery.com>
* opcode/m88k.h: Rename psr macros to avoid conflicts.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/m88k.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/opcode/m88k.h b/include/opcode/m88k.h
index c201349..0b0666d 100644
--- a/include/opcode/m88k.h
+++ b/include/opcode/m88k.h
@@ -231,22 +231,22 @@ struct PROCESSOR
/* Definitions for fields in psr. */
-#define mode 31
-#define rbo 30
-#define ser 29
-#define carry 28
-#define sf7m 11
-#define sf6m 10
-#define sf5m 9
-#define sf4m 8
-#define sf3m 7
-#define sf2m 6
-#define sf1m 5
-#define mam 4
-#define inm 3
-#define exm 2
-#define trm 1
-#define ovfm 0
+#define psr_mode 31
+#define psr_rbo 30
+#define psr_ser 29
+#define psr_carry 28
+#define psr_sf7m 11
+#define psr_sf6m 10
+#define psr_sf5m 9
+#define psr_sf4m 8
+#define psr_sf3m 7
+#define psr_sf2m 6
+#define psr_sf1m 5
+#define psr_mam 4
+#define psr_inm 3
+#define psr_exm 2
+#define psr_trm 1
+#define psr_ovfm 0
/* The 1 clock operations. */