commit | e67768d0f13c78144f17bcca8a64b9b812918198 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sun May 15 16:11:04 2011 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Jun 26 18:25:17 2011 +0000 |
tree | 8f43dd971ebde9ad16e51a609f2f972e1a154642 | |
parent | fa3c9559dbb102340cd1e0b1428e192fed4b0ee3 [diff] |
sparc: move do_interrupt to helper.c do_interrupt() was mixing CPUState pointer passed from caller and global env (AREG0). Fix by moving the function to helper.c. Introduce a helper for calling change_pstate() safely from outside of execution context. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>