summaryrefslogtreecommitdiff
path: root/include/exec/softmmu_exec.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-27 13:13:44 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:30 -0700
commite58eb534133f8ccaa957a33a06ccdb9129f2c842 (patch)
tree884b4d81478eae4d0e3d3be75d9a376b07a9c4d8 /include/exec/softmmu_exec.h
parentb1669e5e321a0a96a07ec1f7a82ce8f4b25ddfd5 (diff)
downloadqemu-e58eb534133f8ccaa957a33a06ccdb9129f2c842.tar.gz
exec: Split softmmu_defs.h
The _cmmu helpers can be moved to exec-all.h. The helpers that are used from TCG will shortly need access to tcg_target_long so move their declarations into tcg.h. This requires minor include adjustments to all TCG backends. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec/softmmu_exec.h')
-rw-r--r--include/exec/softmmu_exec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/exec/softmmu_exec.h b/include/exec/softmmu_exec.h
index 3e4e886a30..6fde154527 100644
--- a/include/exec/softmmu_exec.h
+++ b/include/exec/softmmu_exec.h
@@ -19,7 +19,8 @@
#define ldul_executive ldl_executive
#define ldul_supervisor ldl_supervisor
-#include "exec/softmmu_defs.h"
+/* The memory helpers for tcg-generated code need tcg_target_long etc. */
+#include "tcg.h"
#define ACCESS_TYPE 0
#define MEMSUFFIX MMU_MODE0_SUFFIX