]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm/tcg/psci.c: make compilation unit common
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Thu, 19 Feb 2026 04:01:45 +0000 (20:01 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Feb 2026 10:12:25 +0000 (10:12 +0000)
Now that helper.h does not contain TARGET_AARCH64 identifier, we can
move forward with this file.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20260219040150.2098396-10-pierrick.bouvier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/meson.build
target/arm/tcg/psci.c

index 6e9aed3e5de6d976ef6c08eed141710a9c2c8a39..85277dba8dad350f89892bbe6e2f3ea407128801 100644 (file)
@@ -49,10 +49,6 @@ arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
   'sve_helper.c',
 ))
 
-arm_system_ss.add(files(
-  'psci.c',
-))
-
 arm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c'))
 arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c'))
 
@@ -68,6 +64,7 @@ arm_common_system_ss.add(files(
   'debug.c',
   'hflags.c',
   'neon_helper.c',
+  'psci.c',
   'tlb_helper.c',
   'tlb-insns.c',
   'vfp_helper.c',
index bca6058e41a8e8322178be8f71cea0a54f48ff79..56754bde95161367ca25edc195d5e46c7877306b 100644 (file)
@@ -68,7 +68,7 @@ void arm_handle_psci_call(ARMCPU *cpu)
     CPUARMState *env = &cpu->env;
     uint64_t param[4];
     uint64_t context_id, mpidr;
-    target_ulong entry;
+    uint64_t entry;
     int32_t ret = 0;
     int i;