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