From 9d92659858e5dfad56148586f5d2351178223979 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Mon, 22 Sep 2008 19:50:28 +0000 Subject: Add software and timer interrupt support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5299 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/op_helper.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'target-sparc/op_helper.c') diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 163e82b902..7901403e8e 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -2671,6 +2671,21 @@ void helper_retry(void) env->tl--; env->tsptr = &env->ts[env->tl & MAXTL_MASK]; } + +void helper_set_softint(uint64_t value) +{ + env->softint |= (uint32_t)value; +} + +void helper_clear_softint(uint64_t value) +{ + env->softint &= (uint32_t)~value; +} + +void helper_write_softint(uint64_t value) +{ + env->softint = (uint32_t)value; +} #endif void helper_flush(target_ulong addr) -- cgit v1.2.3