From 4dd044c6ba8b957899f0f308ab43ad61a27d26d4 Mon Sep 17 00:00:00 2001 From: Jia Liu Date: Fri, 20 Jul 2012 15:50:49 +0800 Subject: target-or32: Add system instructions Add OpenRISC system instructions. Signed-off-by: Jia Liu Signed-off-by: Blue Swirl --- target-openrisc/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-openrisc/cpu.h') 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 -- cgit 1.4.1