summaryrefslogtreecommitdiffstats
path: root/target-unicore32
diff options
context:
space:
mode:
authorPaolo Bonzini2014-03-28 19:42:10 +0100
committerPaolo Bonzini2014-06-05 16:10:33 +0200
commitf08b617018e424134a0a012b08253d567c62f7ee (patch)
tree1f72a2dae3031c4d06bc301c8413c524ca24ef07 /target-unicore32
parenttarget-arm: move arm_*_code to a separate file (diff)
downloadqemu-f08b617018e424134a0a012b08253d567c62f7ee.tar.gz
qemu-f08b617018e424134a0a012b08253d567c62f7ee.tar.xz
qemu-f08b617018e424134a0a012b08253d567c62f7ee.zip
softmmu: introduce cpu_ldst.h
This will collect all load and store helpers soon. For now it is just a replacement for softmmu_exec.h, which this patch stops including directly, but we also include it where this will be necessary in order to simplify the next patch. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-unicore32')
-rw-r--r--target-unicore32/op_helper.c3
-rw-r--r--target-unicore32/translate.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/target-unicore32/op_helper.c b/target-unicore32/op_helper.c
index a369ac6464..0266dbdf7b 100644
--- a/target-unicore32/op_helper.c
+++ b/target-unicore32/op_helper.c
@@ -10,6 +10,7 @@
*/
#include "cpu.h"
#include "exec/helper-proto.h"
+#include "exec/cpu_ldst.h"
#define SIGNBIT (uint32_t)0x80000000
#define SIGNBIT64 ((uint64_t)1 << 63)
@@ -241,8 +242,6 @@ uint32_t HELPER(ror_cc)(CPUUniCore32State *env, uint32_t x, uint32_t i)
}
#ifndef CONFIG_USER_ONLY
-#include "exec/softmmu_exec.h"
-
void tlb_fill(CPUState *cs, target_ulong addr, int is_write,
int mmu_idx, uintptr_t retaddr)
{
diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c
index 3cccafe5ad..5a8c7c89ee 100644
--- a/target-unicore32/translate.c
+++ b/target-unicore32/translate.c
@@ -18,6 +18,7 @@
#include "disas/disas.h"
#include "tcg-op.h"
#include "qemu/log.h"
+#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"