summaryrefslogtreecommitdiff
path: root/target-openrisc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-openrisc/cpu.h')
-rw-r--r--target-openrisc/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
index df07eaf666..6506665466 100644
--- a/target-openrisc/cpu.h
+++ b/target-openrisc/cpu.h
@@ -80,6 +80,9 @@ enum {
(reg) |= ((v & 0x1f) << 2);\
} while (0)
+/* Version Register */
+#define SPR_VR 0xFFFF003F
+
/* Internal flags, delay slot flag */
#define D_FLAG 1