For 6XX, enable ppc_cpu_do_transaction_failed() to take the machine
check.

Signed-off-by: Eric DeVolder <[email protected]>
---
 target/ppc/tcg-excp_helper.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/ppc/tcg-excp_helper.c b/target/ppc/tcg-excp_helper.c
index b04f07a637..29fd1d371d 100644
--- a/target/ppc/tcg-excp_helper.c
+++ b/target/ppc/tcg-excp_helper.c
@@ -297,6 +297,12 @@ void ppc_cpu_do_transaction_failed(CPUState *cs, hwaddr 
physaddr,
         }
         break;
 #endif
+    case POWERPC_EXCP_6xx:
+        /*
+         * A bus error (TEA) takes a machine check, if MSR[ME] is set. The
+         * 603 and 604 have no DAR or DSISR update for it.
+         */
+        break;
     default:
         /*
          * TODO: Check behaviour for other CPUs, for now do nothing.
-- 
2.53.0


Reply via email to