Commit 0828b4485a5864482e9a9a7b3c3dcea4033906f6

Authored by blueswir1
1 parent bf5b7423

Move #include to speed up compilation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4398 c046a42c-6fe2-441c-8c8c-71466251a162
target-sparc/exec.h
@@ -56,11 +56,6 @@ void memcpy32(target_ulong *dst, const target_ulong *src); @@ -56,11 +56,6 @@ void memcpy32(target_ulong *dst, const target_ulong *src);
56 target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev); 56 target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev);
57 void dump_mmu(CPUState *env); 57 void dump_mmu(CPUState *env);
58 58
59 -/* XXX: move that to a generic header */  
60 -#if !defined(CONFIG_USER_ONLY)  
61 -#include "softmmu_exec.h"  
62 -#endif /* !defined(CONFIG_USER_ONLY) */  
63 -  
64 static inline void env_to_regs(void) 59 static inline void env_to_regs(void)
65 { 60 {
66 #if defined(reg_REGWPTR) 61 #if defined(reg_REGWPTR)
target-sparc/op_helper.c
1 #include "exec.h" 1 #include "exec.h"
2 #include "host-utils.h" 2 #include "host-utils.h"
3 #include "helper.h" 3 #include "helper.h"
  4 +#if !defined(CONFIG_USER_ONLY)
  5 +#include "softmmu_exec.h"
  6 +#endif /* !defined(CONFIG_USER_ONLY) */
4 7
5 //#define DEBUG_PCALL 8 //#define DEBUG_PCALL
6 //#define DEBUG_MMU 9 //#define DEBUG_MMU