summaryrefslogtreecommitdiffstats
path: root/target-alpha
diff options
context:
space:
mode:
authorPaolo Bonzini2014-03-28 17:48:12 +0100
committerPaolo Bonzini2014-06-05 16:10:33 +0200
commitd94f0a8ecb256fcfcd9eb12bd4700711eca3e937 (patch)
tree9df8ee683210a3101f40c21c7100f3964bb56a4f /target-alpha
parentsoftmmu: make do_unaligned_access a method of CPU (diff)
downloadqemu-d94f0a8ecb256fcfcd9eb12bd4700711eca3e937.tar.gz
qemu-d94f0a8ecb256fcfcd9eb12bd4700711eca3e937.tar.xz
qemu-d94f0a8ecb256fcfcd9eb12bd4700711eca3e937.zip
softmmu: move ALIGNED_ONLY to cpu.h
Prepare for moving softmmu_header.h inclusion out of .c files Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/cpu.h1
-rw-r--r--target-alpha/mem_helper.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 07d9f63d1f..d9b861f404 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -24,6 +24,7 @@
#include "qemu-common.h"
#define TARGET_LONG_BITS 64
+#define ALIGNED_ONLY
#define CPUArchState struct CPUAlphaState
diff --git a/target-alpha/mem_helper.c b/target-alpha/mem_helper.c
index c560bd9717..c5c1165190 100644
--- a/target-alpha/mem_helper.c
+++ b/target-alpha/mem_helper.c
@@ -134,7 +134,6 @@ void alpha_cpu_unassigned_access(CPUState *cs, hwaddr addr,
#include "exec/softmmu_exec.h"
#define MMUSUFFIX _mmu
-#define ALIGNED_ONLY
#define SHIFT 0
#include "exec/softmmu_template.h"