]> git.proxmox.com Git - mirror_qemu.git/commit
target-mips: copy CP0_Config1 into DisasContext
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 29 May 2014 13:50:17 +0000 (15:50 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 20 Jun 2014 20:14:13 +0000 (22:14 +0200)
commit5ab5c04170c5a73172a51a5a5647788c26263db9
tree43a5efdf8c52b9434159753b342c28a90f6dca9e
parentd70a319b8d6f10ad895f05bdd5160cdb42f5058a
target-mips: copy CP0_Config1 into DisasContext

In order to avoid access to the CPUMIPSState structure in the
translator, keep a copy of CP0_Config1 into DisasContext. The whole
register is read-only so it can be copied as a single value.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c