diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-28 19:42:10 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-05 16:10:33 +0200 |
commit | f08b617018e424134a0a012b08253d567c62f7ee (patch) | |
tree | 1f72a2dae3031c4d06bc301c8413c524ca24ef07 /target-sparc | |
parent | 1d854765dfdf9649c129af6d27e308fc638ede58 (diff) | |
download | qemu-f08b617018e424134a0a012b08253d567c62f7ee.zip qemu-f08b617018e424134a0a012b08253d567c62f7ee.tar.gz qemu-f08b617018e424134a0a012b08253d567c62f7ee.tar.bz2 |
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-sparc')
-rw-r--r-- | target-sparc/ldst_helper.c | 5 | ||||
-rw-r--r-- | target-sparc/translate.c | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c index 0843c77..03bd9f9 100644 --- a/target-sparc/ldst_helper.c +++ b/target-sparc/ldst_helper.c @@ -19,6 +19,7 @@ #include "cpu.h" #include "exec/helper-proto.h" +#include "exec/cpu_ldst.h" //#define DEBUG_MMU //#define DEBUG_MXCC @@ -64,10 +65,6 @@ #define QT0 (env->qt0) #define QT1 (env->qt1) -#if !defined(CONFIG_USER_ONLY) -#include "exec/softmmu_exec.h" -#endif - #if defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY) /* Calculates TSB pointer value for fault page size 8k or 64k */ static uint64_t ultrasparc_tsb_pointer(uint64_t tsb_register, diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 652a181..1ab07a1 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -28,6 +28,7 @@ #include "disas/disas.h" #include "exec/helper-proto.h" #include "tcg-op.h" +#include "exec/cpu_ldst.h" #include "exec/helper-gen.h" |