[PATCH-for-9.0 3/3] target/arm/tcg: Including missing 'exec/exec-all.h' header

Philippe Mathieu-Daudé posted 3 patches 12 months ago
Maintainers: Peter Maydell <peter.maydell@linaro.org>
[PATCH-for-9.0 3/3] target/arm/tcg: Including missing 'exec/exec-all.h' header
Posted by Philippe Mathieu-Daudé 12 months ago
translate_insn() ends up calling probe_access_full(), itself
declared in "exec/exec-all.h":

  TranslatorOps::translate_insn
    -> aarch64_tr_translate_insn()
      -> is_guarded_page()
        -> probe_access_full()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 target/arm/tcg/translate-a64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c
index a2e49c39f9..f3b5b9124d 100644
--- a/target/arm/tcg/translate-a64.c
+++ b/target/arm/tcg/translate-a64.c
@@ -18,6 +18,7 @@
  */
 #include "qemu/osdep.h"
 
+#include "exec/exec-all.h"
 #include "translate.h"
 #include "translate-a64.h"
 #include "qemu/log.h"
-- 
2.41.0