Skip to content

Commit

Permalink
softmmu: move ALIGNED_ONLY to cpu.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini committed Jun 5, 2014
1 parent 93e2232 commit d94f0a8
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions target-alpha/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "qemu-common.h"

#define TARGET_LONG_BITS 64
#define ALIGNED_ONLY

#define CPUArchState struct CPUAlphaState

Expand Down
1 change: 0 additions & 1 deletion target-alpha/mem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions target-mips/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

//#define DEBUG_OP

#define ALIGNED_ONLY
#define TARGET_HAS_ICE 1

#define ELF_MACHINE EM_MIPS
Expand Down
1 change: 0 additions & 1 deletion target-mips/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,6 @@ void helper_wait(CPUMIPSState *env)
#if !defined(CONFIG_USER_ONLY)

#define MMUSUFFIX _mmu
#define ALIGNED_ONLY

#define SHIFT 0
#include "exec/softmmu_template.h"
Expand Down
2 changes: 2 additions & 0 deletions target-sparc/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include "qemu-common.h"
#include "qemu/bswap.h"

#define ALIGNED_ONLY

#if !defined(TARGET_SPARC64)
#define TARGET_LONG_BITS 32
#define TARGET_DPREGS 16
Expand Down
1 change: 0 additions & 1 deletion target-sparc/ldst_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
#if !defined(CONFIG_USER_ONLY)
#include "exec/softmmu_exec.h"
#define MMUSUFFIX _mmu
#define ALIGNED_ONLY

#define SHIFT 0
#include "exec/softmmu_template.h"
Expand Down
1 change: 1 addition & 0 deletions target-xtensa/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#ifndef CPU_XTENSA_H
#define CPU_XTENSA_H

#define ALIGNED_ONLY
#define TARGET_LONG_BITS 32
#define ELF_MACHINE EM_XTENSA

Expand Down
1 change: 0 additions & 1 deletion target-xtensa/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "exec/softmmu_exec.h"
#include "exec/address-spaces.h"

#define ALIGNED_ONLY
#define MMUSUFFIX _mmu

#define SHIFT 0
Expand Down

0 comments on commit d94f0a8

Please sign in to comment.