fix issue 1663:tricore pc don't move

This commit is contained in:
Yu3h0
2022-07-25 14:54:21 +08:00
parent 6c1cbef6ac
commit ca6a8b4cac
5 changed files with 26 additions and 6 deletions

View File

@@ -2793,3 +2793,12 @@ uint32_t helper_psw_read(CPUTriCoreState *env)
{
return psw_read(env);
}
void helper_uc_tricore_exit(CPUTriCoreState *env)
{
CPUState *cs = env_cpu(env);
cs->exception_index = EXCP_HLT;
cs->halted = 1;
cpu_loop_exit(cs);
}