diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 20:50:21 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 20:50:21 +0000 |
commit | 91736d378b9bc6a9d7e16556216c919ba21dc5ca (patch) | |
tree | a85752641060c96d1fc88e5b74aeaa090363d9c9 /target-sparc/exec.h | |
parent | a46256129e80d993d23ed9d95566c79bcfa65e2d (diff) |
Fix Sparc64 boot on i386 host:
- move do_interrupt() back to op_helper.c
- move non-helper prototypes from helper.h to exec.h
- move some prototypes from cpu.h to exec.h
- do not export either set_cwp() or cpu_set_cwp() from op_helper.c,
but instead provide inline functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5109 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/exec.h')
-rw-r--r-- | target-sparc/exec.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h index c6ff9506f6..f53cd69829 100644 --- a/target-sparc/exec.h +++ b/target-sparc/exec.h @@ -23,10 +23,25 @@ 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); +void memcpy32(target_ulong *dst, const target_ulong *src); + +/* op_helper.c */ void do_interrupt(CPUState *env); +/* cpu-exec.c */ +void cpu_loop_exit(void); +int cpu_sparc_signal_handler(int host_signum, void *pinfo, void *puc); + +/* sun4m.c */ +void cpu_check_irqs(CPUSPARCState *env); + static inline int cpu_halted(CPUState *env1) { if (!env1->halted) return 0; |