mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
target/openrisc: Do not use target_ulong for @mr in MTSPR helper
OpenRISCTLBEntry::@mr field is a uint32_t type since its
introduction in commit 726fe04572 ("target-or32: Add MMU support").
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Anton Johansson <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
This commit is contained in:
1 parent
2795bc52af
commit
a3c4facd39
1 file changed
+1
-1
@@ -45,7 +45,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, target_ulong spr, target_ulong rb)
|
||||
OpenRISCCPU *cpu = env_archcpu(env);
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
CPUState *cs = env_cpu(env);
|
||||
target_ulong mr;
|
||||
uint32_t mr;
|
||||
int idx;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user