diff options
author | Jia Liu <proljc@gmail.com> | 2012-07-20 15:50:49 +0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-27 21:13:03 +0000 |
commit | 4dd044c6ba8b957899f0f308ab43ad61a27d26d4 (patch) | |
tree | 68983918642a4b791fee6659513f8097c9ccdb17 /target-openrisc/cpu.h | |
parent | ce6e1e9ec9b54811a942d6aece92fab3f5ace88d (diff) |
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>
Diffstat (limited to 'target-openrisc/cpu.h')
-rw-r--r-- | target-openrisc/cpu.h | 3 |
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 |