On 26/01/2022 16:41, Fabiano Rosas wrote:
This handles the exception code for the 74xx family, i.e. 7400, 7410,
7440, 7445, 7450, 7455, 7457.
This is another family that is quite well known, so it should be
straight-forward as well.
Based on legoater/ppc-7.0
Fabiano Rosas (8):
target/ppc: Introduce powerpc_excp_74xx
target/ppc: Simplify powerpc_excp_74xx
target/ppc: 74xx: Machine Check exception cleanup
target/ppc: 74xx: External interrupt cleanup
target/ppc: 74xx: Program exception cleanup
target/ppc: 74xx: System Call exception cleanup
target/ppc: 74xx: System Reset interrupt cleanup
target/ppc: 74xx: Set SRRs directly in exception code
target/ppc/excp_helper.c | 175 +++++++++++++++++++++++++++++++++++++++
1 file changed, 175 insertions(+)
I'm not overly familiar with PPC exception handling detail, so I can't offer much in
the way of review I'm afraid. I could do a quick test and make sure nothing breaks
with my MacOS images though?
Also any thoughts on Christophe's question re: e300 PVRs at
https://lists.gnu.org/archive/html/qemu-ppc/2022-01/msg00592.html? I can handle
merging the OpenBIOS changes if someone can come up with a suitable fix.
ATB,
Mark.