e67768d0f1
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> |
||
---|---|---|
.. | ||
cpu.h | ||
exec.h | ||
helper.c | ||
helper.h | ||
machine.c | ||
op_helper.c | ||
TODO | ||
translate.c |