]> Git Repo - qemu.git/commit
sparc: move do_interrupt to helper.c
authorBlue Swirl <[email protected]>
Sun, 15 May 2011 16:11:04 +0000 (16:11 +0000)
committerBlue Swirl <[email protected]>
Sun, 26 Jun 2011 18:25:17 +0000 (18:25 +0000)
commite67768d0f13c78144f17bcca8a64b9b812918198
tree8f43dd971ebde9ad16e51a609f2f972e1a154642
parentfa3c9559dbb102340cd1e0b1428e192fed4b0ee3
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 <[email protected]>
target-sparc/cpu.h
target-sparc/exec.h
target-sparc/helper.c
target-sparc/op_helper.c
This page took 0.026461 seconds and 4 git commands to generate.