diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-08-01 09:20:58 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-26 17:18:09 +0000 |
commit | 7922703623a989b59ce7f7b57a3c8ebe5c0f6b53 (patch) | |
tree | 75d9b2f34c34b1854e3b9f0516f82253bf7a3960 /target-sparc/helper.h | |
parent | 063c367558dc4e811e0c10a64f49838acb108c38 (diff) | |
download | qemu-7922703623a989b59ce7f7b57a3c8ebe5c0f6b53.zip qemu-7922703623a989b59ce7f7b57a3c8ebe5c0f6b53.tar.gz qemu-7922703623a989b59ce7f7b57a3c8ebe5c0f6b53.tar.bz2 |
Sparc: avoid AREG0 for softint op helpers and Leon cache control
Make softint op helpers and Leon cache irq manager take a parameter
for CPUState instead of relying on global env. Move the functions
to int{32,64}_helper.c.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/helper.h')
-rw-r--r-- | target-sparc/helper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-sparc/helper.h b/target-sparc/helper.h index b18cbc6..943b4ba 100644 --- a/target-sparc/helper.h +++ b/target-sparc/helper.h @@ -24,9 +24,9 @@ DEF_HELPER_4(ldf_asi, void, tl, int, int, int) DEF_HELPER_4(stf_asi, void, tl, int, int, int) DEF_HELPER_4(cas_asi, tl, tl, tl, tl, i32) DEF_HELPER_4(casx_asi, tl, tl, tl, tl, i32) -DEF_HELPER_1(set_softint, void, i64) -DEF_HELPER_1(clear_softint, void, i64) -DEF_HELPER_1(write_softint, void, i64) +DEF_HELPER_2(set_softint, void, env, i64) +DEF_HELPER_2(clear_softint, void, env, i64) +DEF_HELPER_2(write_softint, void, env, i64) DEF_HELPER_2(tick_set_count, void, ptr, i64) DEF_HELPER_1(tick_get_count, i64, ptr) DEF_HELPER_2(tick_set_limit, void, ptr, i64) |