提交 d94f0a8e 编写于 作者: P Paolo Bonzini

softmmu: move ALIGNED_ONLY to cpu.h

Prepare for moving softmmu_header.h inclusion out of .c files
Reviewed-by: NRichard Henderson <rth@twiddle.net>
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 93e22326
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "qemu-common.h" #include "qemu-common.h"
#define TARGET_LONG_BITS 64 #define TARGET_LONG_BITS 64
#define ALIGNED_ONLY
#define CPUArchState struct CPUAlphaState #define CPUArchState struct CPUAlphaState
......
...@@ -134,7 +134,6 @@ void alpha_cpu_unassigned_access(CPUState *cs, hwaddr addr, ...@@ -134,7 +134,6 @@ void alpha_cpu_unassigned_access(CPUState *cs, hwaddr addr,
#include "exec/softmmu_exec.h" #include "exec/softmmu_exec.h"
#define MMUSUFFIX _mmu #define MMUSUFFIX _mmu
#define ALIGNED_ONLY
#define SHIFT 0 #define SHIFT 0
#include "exec/softmmu_template.h" #include "exec/softmmu_template.h"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
//#define DEBUG_OP //#define DEBUG_OP
#define ALIGNED_ONLY
#define TARGET_HAS_ICE 1 #define TARGET_HAS_ICE 1
#define ELF_MACHINE EM_MIPS #define ELF_MACHINE EM_MIPS
......
...@@ -2129,7 +2129,6 @@ void helper_wait(CPUMIPSState *env) ...@@ -2129,7 +2129,6 @@ void helper_wait(CPUMIPSState *env)
#if !defined(CONFIG_USER_ONLY) #if !defined(CONFIG_USER_ONLY)
#define MMUSUFFIX _mmu #define MMUSUFFIX _mmu
#define ALIGNED_ONLY
#define SHIFT 0 #define SHIFT 0
#include "exec/softmmu_template.h" #include "exec/softmmu_template.h"
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/bswap.h" #include "qemu/bswap.h"
#define ALIGNED_ONLY
#if !defined(TARGET_SPARC64) #if !defined(TARGET_SPARC64)
#define TARGET_LONG_BITS 32 #define TARGET_LONG_BITS 32
#define TARGET_DPREGS 16 #define TARGET_DPREGS 16
......
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
#if !defined(CONFIG_USER_ONLY) #if !defined(CONFIG_USER_ONLY)
#include "exec/softmmu_exec.h" #include "exec/softmmu_exec.h"
#define MMUSUFFIX _mmu #define MMUSUFFIX _mmu
#define ALIGNED_ONLY
#define SHIFT 0 #define SHIFT 0
#include "exec/softmmu_template.h" #include "exec/softmmu_template.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#ifndef CPU_XTENSA_H #ifndef CPU_XTENSA_H
#define CPU_XTENSA_H #define CPU_XTENSA_H
#define ALIGNED_ONLY
#define TARGET_LONG_BITS 32 #define TARGET_LONG_BITS 32
#define ELF_MACHINE EM_XTENSA #define ELF_MACHINE EM_XTENSA
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "exec/softmmu_exec.h" #include "exec/softmmu_exec.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#define ALIGNED_ONLY
#define MMUSUFFIX _mmu #define MMUSUFFIX _mmu
#define SHIFT 0 #define SHIFT 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册