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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index 0087b8a..36a69bc 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -15,7 +15,7 @@
#include "armv4_5_mmu.h"
#include "trace.h"
-#define XSCALE_COMMON_MAGIC 0x58534341
+#define XSCALE_COMMON_MAGIC 0x58534341U
/* These four JTAG instructions are architecturally defined.
* Lengths are core-specific; originally 5 bits, later 7.
@@ -71,11 +71,11 @@ struct xscale_trace {
};
struct xscale_common {
+ unsigned int common_magic;
+
/* armv4/5 common stuff */
struct arm arm;
- int common_magic;
-
/* XScale registers (CP15, DBG) */
struct reg_cache *reg_cache;