aboutsummaryrefslogtreecommitdiff
path: root/target/microblaze/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/microblaze/cpu.h')
-rw-r--r--target/microblaze/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index bf6963bcb7..68c33e83e4 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -129,6 +129,8 @@ typedef struct CPUMBState CPUMBState;
#define PVR0_USER1_MASK 0x000000FF
#define PVR0_SPROT_MASK 0x00000001
+#define PVR0_VERSION_SHIFT 8
+
/* User 2 PVR mask */
#define PVR1_USER2_MASK 0xFFFFFFFF