]> Git Repo - qemu.git/commitdiff
exec/cpu-defs: Remove TCG backends dependency
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 4 Feb 2021 19:14:23 +0000 (20:14 +0100)
committerRichard Henderson <[email protected]>
Fri, 5 Feb 2021 20:24:14 +0000 (10:24 -1000)
"exec/cpu-defs.h" contains generic CPU definitions for the
TCG frontends (mostly related to TLB). TCG backends definitions
aren't relevant here.

See tcg/README description:

  4) Backend

  tcg-target.h contains the target specific definitions. tcg-target.c.inc
  contains the target specific code; it is #included by tcg/tcg.c, rather
  than being a standalone C file.

So far only "tcg/tcg.h" requires these headers.

Remove the "target-tcg.h" header dependency on TCG frontends, so we
don't have to rebuild all frontends when hacking a single backend.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20210204191423.1754158[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
include/exec/cpu-defs.h

index d1f5e3fc3d874dca3738766b4eecd63aecfb3091..ba3cd32a1ecc7f9ab6215e7c954f8b1ccae893a6 100644 (file)
@@ -25,9 +25,6 @@
 
 #include "qemu/host-utils.h"
 #include "qemu/thread.h"
-#ifdef CONFIG_TCG
-#include "tcg-target.h"
-#endif
 #ifndef CONFIG_USER_ONLY
 #include "exec/hwaddr.h"
 #endif
This page took 0.029815 seconds and 4 git commands to generate.