@samitouri / QOSamiQemu / commits / 78a3f27be9

target/arm: Remove target_ulong use in hvf_handle_psci_call()

Similarly to commit 3580aa03547 ("target/arm/tcg/psci.c: make compilation unit common") which replaced the target_ulong use in arm_handle_psci_call(), replace the one in hvf_handle_psci_call. This could be vaddr, because entry is the start pc for the on-lining cpu, but we prefer uint64_t because this is what we get in param[] and pass to arm_set_cpu_on(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260410194227.16357-1-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Philippe Mathieu-Daudé committed Apr 23, 2026 at 10:24 UTC 78a3f27be9b927f9c9421e8e728b2987ac46339d
1 file changed +1 -1
target/arm/hvf/hvf.c
+1 -1
@@ -1418,7 +1418,7 @@ static bool hvf_handle_psci_call(CPUState *cpu, int *excp_ret)
1418 bool target_aarch64 = true;
1419 CPUState *target_cpu_state;
1420 ARMCPU *target_cpu;
1421 - target_ulong entry;
1421 + uint64_t entry;
1422 int target_el = 1;
1423 int32_t ret = 0;
1424