]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
target-mips: fix broken snapshotting
authorLeon Alrae <leon.alrae@imgtec.com>
Mon, 26 Jan 2015 16:49:42 +0000 (16:49 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 2 Mar 2015 00:09:42 +0000 (18:09 -0600)
commit00fd8904f6383fca1c25e24d45a00960b0417749
treeb08fcd5d111ca65df93f9ea042bee34205d63355
parent3d1cd5997d24c83b5b1b534fc1650b715b5168cf
target-mips: fix broken snapshotting

Recently added CP0.BadInstr and CP0.BadInstrP registers ended up in cpu_load()
under different offset than in cpu_save(). These and all registers between were
incorrectly restored.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
(cherry picked from commit b40a1530f294b5fa4479dc3ca9bf46c269d08d87)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-mips/machine.c