commit | 4dd044c6ba8b957899f0f308ab43ad61a27d26d4 | [log] [tgz] |
---|---|---|
author | Jia Liu <proljc@gmail.com> | Fri Jul 20 15:50:49 2012 +0800 |
committer | Blue Swirl <blauwirbel@gmail.com> | Fri Jul 27 21:13:03 2012 +0000 |
tree | 68983918642a4b791fee6659513f8097c9ccdb17 | |
parent | ce6e1e9ec9b54811a942d6aece92fab3f5ace88d [diff] [blame] |
target-or32: Add system instructions Add OpenRISC system instructions. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h index df07eaf..6506665 100644 --- a/target-openrisc/cpu.h +++ b/target-openrisc/cpu.h
@@ -80,6 +80,9 @@ (reg) |= ((v & 0x1f) << 2);\ } while (0) +/* Version Register */ +#define SPR_VR 0xFFFF003F + /* Internal flags, delay slot flag */ #define D_FLAG 1