]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: powerpc_excp: Set alternate SRRs directly
authorFabiano Rosas <farosas@linux.ibm.com>
Tue, 4 Jan 2022 06:55:34 +0000 (07:55 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 4 Jan 2022 06:55:34 +0000 (07:55 +0100)
commit19e70626f8554245a30d3d46b613d80f2b670c04
tree2c1620ec6329cf7720f9f0d7adfe16e2c3229f38
parent84ade98e87ea982ec6625ffd91058aaf443c206e
target/ppc: powerpc_excp: Set alternate SRRs directly

There are currently only two interrupts that use alternate SRRs, so
let them write to them directly during the setup code.

No functional change intended.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20211229165751.3774248-2-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/excp_helper.c