diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-08-01 09:03:20 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-23 15:10:18 +0000 |
commit | 070af38404fde7a5eca87633bcbd452b5428f968 (patch) | |
tree | 4c8aa3fe1ffe6f7094ad43bdc482cb36396e4d78 /target-sparc/cpu.h | |
parent | 2ffd9176b10caefab5f2bade13b1b54154266b35 (diff) | |
download | hqemu-070af38404fde7a5eca87633bcbd452b5428f968.zip hqemu-070af38404fde7a5eca87633bcbd452b5428f968.tar.gz |
Sparc: split CWP and PSTATE op helpers
Move CWP and PSTATE op helpers to win_helper.c.
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index c9ab7e4..6bf9275 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -509,7 +509,7 @@ void gen_intermediate_code_init(CPUSPARCState *env); /* cpu-exec.c */ int cpu_sparc_exec(CPUSPARCState *s); -/* op_helper.c */ +/* win_helper.c */ target_ulong cpu_get_psr(CPUState *env1); void cpu_put_psr(CPUState *env1, target_ulong val); #ifdef TARGET_SPARC64 @@ -522,6 +522,8 @@ void cpu_change_pstate(CPUState *env1, uint32_t new_pstate); int cpu_cwp_inc(CPUState *env1, int cwp); int cpu_cwp_dec(CPUState *env1, int cwp); void cpu_set_cwp(CPUState *env1, int new_cwp); + +/* op_helper.c */ void leon3_irq_manager(void *irq_manager, int intno); /* sun4m.c, sun4u.c */ |