%mmcsr and %cause are filled with @trap_arg1 / @trap_arg2,
both declared as uint64_t in target/alpha/cpu.h:
229 uint64_t trap_arg1;
230 uint64_t trap_arg2;
...
Use uint64_t instead of target_ulong.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/alpha/helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/alpha/helper.c b/target/alpha/helper.c
index 126a53c829b..2dc52cc4465 100644
--- a/target/alpha/helper.c
+++ b/target/alpha/helper.c
@@ -129,7 +129,7 @@ void alpha_cpu_record_sigsegv(CPUState *cs, vaddr address,
bool maperr, uintptr_t retaddr)
{
CPUAlphaState *env = cpu_env(cs);
- target_ulong mmcsr, cause;
+ uint64_t mmcsr, cause;
/* Assuming !maperr, infer the missing protection. */
switch (access_type) {
--
2.52.0