diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-09-11 09:33:40 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-23 15:07:52 +0000 |
commit | ab3b491f2131e12503d165a8ffaef5f3a488eafe (patch) | |
tree | 0c7057376eb14ede160a21c11a732da33e82bb45 /target-sparc/cpu.h | |
parent | c65f6fd4bc485f893cd032cd32c8f6eb2a6ae757 (diff) | |
download | hqemu-ab3b491f2131e12503d165a8ffaef5f3a488eafe.zip hqemu-ab3b491f2131e12503d165a8ffaef5f3a488eafe.tar.gz |
Sparc: split helper.c
Move CPU init to cpu_init.c and interrupt handling to int32_helper.c
for Sparc32 and int64_helper.c for Sparc64.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r-- | target-sparc/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 19de5ba..c9ab7e4 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -485,10 +485,11 @@ typedef struct CPUSPARCState { } CPUSPARCState; #ifndef NO_CPU_IO_DEFS -/* helper.c */ +/* cpu_init.c */ CPUSPARCState *cpu_sparc_init(const char *cpu_model); void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu); void sparc_cpu_list(FILE *f, fprintf_function cpu_fprintf); +/* helper.c */ int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw, int mmu_idx); #define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault |