qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v2 13/24] target/arm: add temporary stub for arm_rebuild_hflags


From: Richard Henderson
Subject: Re: [RFC v2 13/24] target/arm: add temporary stub for arm_rebuild_hflags
Date: Mon, 1 Mar 2021 20:07:14 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/1/21 8:49 AM, Claudio Fontana wrote:
+#ifdef CONFIG_TCG
      /* CP15 update requires rebuilding hflags */
      arm_rebuild_hflags(&target_cpu->env);
+#endif /* CONFIG_TCG */
...
+/* XXX this is used all over in hw/arm, needs Philippe's work to remove */
+void arm_rebuild_hflags(CPUARMState *env)
+{
+    g_assert_not_reached();
+}


If you have the stub, you can use tcg_enabled(), not an ifdef.

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]