mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Add software and timer interrupt support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5299 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d3ae49bcf7
commit
9d92659858
5 changed files with 108 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue