Commit 29a45d20a0 for qemu.org
commit 29a45d20a0ee6c2a74f423fc2799666bf392c797
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: Tue Feb 3 00:08:35 2026 +0100
target/alpha: Do not use target_ulong for trap arguments
%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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260202234550.34156-5-philmd@linaro.org>
diff --git a/target/alpha/helper.c b/target/alpha/helper.c
index 126a53c829..2dc52cc446 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) {