aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/cpu.h9
-rw-r--r--target-sparc/exec.h11
2 files changed, 9 insertions, 11 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 6faaa6f914..33aed2d888 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -340,6 +340,12 @@ CPUSPARCState *cpu_sparc_init(const char *cpu_model);
void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu);
void sparc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt,
...));
+void cpu_lock(void);
+void cpu_unlock(void);
+int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw,
+ int mmu_idx, int is_softmmu);
+target_ulong mmu_probe(CPUSPARCState *env, target_ulong address, int mmulev);
+void dump_mmu(CPUSPARCState *env);
/* translate.c */
void gen_intermediate_code_init(CPUSPARCState *env);
@@ -492,4 +498,7 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#include "cpu-all.h"
+/* sum4m.c, sun4u.c */
+void cpu_check_irqs(CPUSPARCState *env);
+
#endif
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index 2b478cb2b5..75410aa790 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -21,23 +21,12 @@ static inline void regs_to_env(void)
{
}
-/* helper.c */
-void cpu_lock(void);
-void cpu_unlock(void);
-int cpu_sparc_handle_mmu_fault(CPUState *env1, target_ulong address, int rw,
- int mmu_idx, int is_softmmu);
-target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev);
-void dump_mmu(CPUState *env);
-
/* op_helper.c */
void do_interrupt(CPUState *env);
/* cpu-exec.c */
void cpu_loop_exit(void);
-/* sun4m.c */
-void cpu_check_irqs(CPUSPARCState *env);
-
static inline int cpu_halted(CPUState *env1) {
if (!env1->halted)
return 0;