Browse Source

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>
pull/12/head
Paolo Bonzini 13 years ago
parent
commit
d94f0a8ecb
  1. 1
      target-alpha/cpu.h
  2. 1
      target-alpha/mem_helper.c
  3. 1
      target-mips/cpu.h
  4. 1
      target-mips/op_helper.c
  5. 2
      target-sparc/cpu.h
  6. 1
      target-sparc/ldst_helper.c
  7. 1
      target-xtensa/cpu.h
  8. 1
      target-xtensa/op_helper.c

1
target-alpha/cpu.h

@ -24,6 +24,7 @@
#include "qemu-common.h"
#define TARGET_LONG_BITS 64
#define ALIGNED_ONLY
#define CPUArchState struct CPUAlphaState

1
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"

1
target-mips/cpu.h

@ -3,6 +3,7 @@
//#define DEBUG_OP
#define ALIGNED_ONLY
#define TARGET_HAS_ICE 1
#define ELF_MACHINE EM_MIPS

1
target-mips/op_helper.c

@ -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"

2
target-sparc/cpu.h

@ -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

1
target-sparc/ldst_helper.c

@ -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"

1
target-xtensa/cpu.h

@ -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

1
target-xtensa/op_helper.c

@ -31,7 +31,6 @@
#include "exec/softmmu_exec.h"
#include "exec/address-spaces.h"
#define ALIGNED_ONLY
#define MMUSUFFIX _mmu
#define SHIFT 0

Loading…
Cancel
Save