diff options
author | Matheus Ferst <matheus.ferst@eldorado.org.br> | 2021-10-14 19:32:31 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-10-21 11:42:47 +1100 |
commit | 66c6b40aba13807506f20c7522f4930c9ffc76ce (patch) | |
tree | d1658e09ad6da6d61eebcbe4c2a323bf4fcf2c68 /docs/sphinx | |
parent | 252fcf36bba483493365e91c2f98569de29a43fd (diff) | |
download | qemu-66c6b40aba13807506f20c7522f4930c9ffc76ce.zip qemu-66c6b40aba13807506f20c7522f4930c9ffc76ce.tar.gz qemu-66c6b40aba13807506f20c7522f4930c9ffc76ce.tar.bz2 |
linux-user/ppc: Fix XER access in save/restore_user_regs
We should use cpu_read_xer/cpu_write_xer to save/restore the complete
register since some of its bits are in other fields of CPUPPCState. A
test is added to prevent future regressions.
Fixes: da91a00f191f ("target-ppc: Split out SO, OV, CA fields from XER")
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211014223234.127012-2-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'docs/sphinx')
0 files changed, 0 insertions, 0 deletions