summaryrefslogtreecommitdiffstats
path: root/target/alpha
diff options
context:
space:
mode:
authorMatheus Ferst2022-06-27 16:11:02 +0200
committerDaniel Henrique Barboza2022-07-18 18:59:43 +0200
commite89851798597d93554676cfdcbb2f1e0f38cdb68 (patch)
tree0dec5dad887f4daff22de4bb2ce57e43f9b65ef5 /target/alpha
parenttarget/ppc: remove mfdcrux and mtdcrux (diff)
downloadqemu-e89851798597d93554676cfdcbb2f1e0f38cdb68.tar.gz
qemu-e89851798597d93554676cfdcbb2f1e0f38cdb68.tar.xz
qemu-e89851798597d93554676cfdcbb2f1e0f38cdb68.zip
target/ppc: fix exception error code in helper_{load, store}_dcr
POWERPC_EXCP_INVAL should only be or-ed with other constants prefixed with POWERPC_EXCP_INVAL_. Also, take the opportunity to move both helpers under #if !defined(CONFIG_USER_ONLY) as the instructions that use them are privileged. No functional change is intended, the lower 4 bits of the error code are ignored by all powerpc_excp_* methods on POWERPC_EXCP_INVAL exceptions. Reported-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220627141104.669152-5-matheus.ferst@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/alpha')
0 files changed, 0 insertions, 0 deletions