diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-08-25 14:28:37 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-09-04 12:48:22 -0700 |
commit | b72e3ff65880f2b894a2692e2b0a14424058a919 (patch) | |
tree | 3c019d506fe32b7f3af87821339291e57614746d /target/openrisc/cpu.h | |
parent | d29f4368a71c6fe5de3a4424c67d4a3a2e577843 (diff) | |
download | qemu-b72e3ff65880f2b894a2692e2b0a14424058a919.zip qemu-b72e3ff65880f2b894a2692e2b0a14424058a919.tar.gz qemu-b72e3ff65880f2b894a2692e2b0a14424058a919.tar.bz2 |
target/openrisc: Make VR and PPC read-only
These SPRs are read-only. The writes can simply be ignored,
as we already do for other read-only (or missing) registers.
There is no reason to mask the value in env->vr.
Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc/cpu.h')
-rw-r--r-- | target/openrisc/cpu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h index 561f0f7..755282f 100644 --- a/target/openrisc/cpu.h +++ b/target/openrisc/cpu.h @@ -68,9 +68,6 @@ enum { (reg) |= ((v & 0x1f) << 2);\ } while (0) -/* Version Register */ -#define SPR_VR 0xFFFF003F - /* Interrupt */ #define NR_IRQS 32 |