]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm: Unexport assert_hflags_rebuild_correctly
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Apr 2025 18:37:24 +0000 (11:37 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 30 Apr 2025 19:45:05 +0000 (12:45 -0700)
This function is no longer used outside of hflags.c.
We can remove the stub as well.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/internals.h
target/arm/tcg-stubs.c
target/arm/tcg/hflags.c

index 4d3d84ffebd95b5798b1e791d44a10dc05883d74..382a4d10158fc9626f8975457b3f99e9e7f58232 100644 (file)
@@ -1906,8 +1906,6 @@ static inline bool arm_fgt_active(CPUARMState *env, int el)
         (!arm_feature(env, ARM_FEATURE_EL3) || (env->cp15.scr_el3 & SCR_FGTEN));
 }
 
-void assert_hflags_rebuild_correctly(CPUARMState *env);
-
 /*
  * Although the ARM implementation of hardware assisted debugging
  * allows for different breakpoints per-core, the current GDB
index 93a15cad610367fab2908f1c704831a088260ce6..5e5166c04907f468372d541f325e2a8ebc2671a2 100644 (file)
@@ -21,10 +21,6 @@ void raise_exception_ra(CPUARMState *env, uint32_t excp, uint32_t syndrome,
 {
     g_assert_not_reached();
 }
-/* Temporarily while cpu_get_tb_cpu_state() is still in common code */
-void assert_hflags_rebuild_correctly(CPUARMState *env)
-{
-}
 
 /* TLBI insns are only used by TCG, so we don't need to do anything for KVM */
 void define_tlb_insn_regs(ARMCPU *cpu)
index e530f65ed7f5f6bf52988ced96198bc7d749ecbe..5315264c285dd524f20591c9b8877745c39d578f 100644 (file)
@@ -499,7 +499,7 @@ void HELPER(rebuild_hflags_a64)(CPUARMState *env, int el)
     env->hflags = rebuild_hflags_a64(env, el, fp_el, mmu_idx);
 }
 
-void assert_hflags_rebuild_correctly(CPUARMState *env)
+static void assert_hflags_rebuild_correctly(CPUARMState *env)
 {
 #ifdef CONFIG_DEBUG_TCG
     CPUARMTBFlags c = env->hflags;