fix issue 1663:tricore pc don't move
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user