]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-mips: don't call cpu_loop_exit() from helper.c
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Feb 2010 16:02:45 +0000 (17:02 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Feb 2010 16:25:15 +0000 (17:25 +0100)
commit6728dd464b2c0f7c9edb00e3c3e14cb8e8590e77
tree7c3798da1cb863b0ba13ad76ea32f48176d9b2a7
parentbb45bcc8dec3863c31a07ac576f031ef4c961c93
target-mips: don't call cpu_loop_exit() from helper.c

In helper.c AREG0 may not correspond do env, so it's not possible to
call cpu_loop_exit() here. Call it from op_helper.c instead.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit c36bbb28ad62b4b1f494df0b199432d8c79876db)
target-mips/cpu.h
target-mips/helper.c
target-mips/op_helper.c