From: Philippe Mathieu-Daudé Date: Mon, 2 Feb 2026 23:08:35 +0000 (+0100) Subject: target/alpha: Do not use target_ulong for trap arguments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a45d20a0ee6c2a74f423fc2799666bf392c797;p=thirdparty%2Fqemu.git 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é Reviewed-by: Richard Henderson 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) {