summaryrefslogtreecommitdiffstats
path: root/target-xtensa
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-03-28 17:55:24 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-05 16:10:33 +0200
commit0f590e749f7c838bfd40b79242fc5aeb91e81747 (patch)
treedc7978fe575a9886b3425e396c7c36e4a035254b /target-xtensa
parentd94f0a8ecb256fcfcd9eb12bd4700711eca3e937 (diff)
downloadhqemu-0f590e749f7c838bfd40b79242fc5aeb91e81747.zip
hqemu-0f590e749f7c838bfd40b79242fc5aeb91e81747.tar.gz
softmmu: commonize helper definitions
They do not need to be in op_helper.c. Because cputlb.c now includes softmmu_template.h twice for each size, io_readX must be elided the second time through. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-xtensa')
-rw-r--r--target-xtensa/op_helper.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/target-xtensa/op_helper.c b/target-xtensa/op_helper.c
index 9ce81e2..a772295 100644
--- a/target-xtensa/op_helper.c
+++ b/target-xtensa/op_helper.c
@@ -30,20 +30,7 @@
#include "qemu/host-utils.h"
#include "exec/softmmu_exec.h"
#include "exec/address-spaces.h"
-
-#define MMUSUFFIX _mmu
-
-#define SHIFT 0
-#include "exec/softmmu_template.h"
-
-#define SHIFT 1
-#include "exec/softmmu_template.h"
-
-#define SHIFT 2
-#include "exec/softmmu_template.h"
-
-#define SHIFT 3
-#include "exec/softmmu_template.h"
+#include "qemu/timer.h"
void xtensa_cpu_do_unaligned_access(CPUState *cs,
vaddr addr, int is_write, int is_user, uintptr_t retaddr)
OpenPOWER on IntegriCloud