qemu-irix/target-mips
Aurelien Jarno 9badf5579d target-mips: fix save_cpu_state() calls
The rule is:
- don't save PC if the exception is only triggered by softmmu.
- save PC if the exception can be triggered by an helper.

Fix a 64-bit kernel crash when loading modules.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit b835e919f0)
2011-01-24 20:52:19 +01:00
..
TODO target-mips: add copyright notice for mips16 work 2009-12-13 20:20:20 +01:00
cpu.h mips: more fixes to the MIPS interrupt glue logic 2010-07-25 16:54:02 +02:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper.c target-mips: fix xtlb exception for loongson 2010-07-17 16:13:12 +02:00
helper.h mips: more fixes to the MIPS interrupt glue logic 2010-07-25 16:54:02 +02:00
machine.c target-mips: rename CP0_LLAddr into lladdr 2009-11-22 14:12:13 +01:00
mips-defs.h MIPS: Initial support of fulong mini pc (CPU definition) 2010-06-29 23:07:52 +02:00
op_helper.c mips: more fixes to the MIPS interrupt glue logic 2010-07-25 16:54:02 +02:00
translate.c target-mips: fix save_cpu_state() calls 2011-01-24 20:52:19 +01:00
translate_init.c MIPS: Initial support of fulong mini pc (CPU definition) 2010-06-29 23:07:52 +02:00