| 942 |
#endif |
#endif |
| 943 |
#if !defined(CONFIG_USER_ONLY) |
#if !defined(CONFIG_USER_ONLY) |
| 944 |
if (env->tl == MAXTL) { |
if (env->tl == MAXTL) { |
| 945 |
cpu_abort(cpu_single_env, "Trap 0x%04x while trap level is MAXTL, Error state", env->exception_index); |
cpu_abort(env, "Trap 0x%04x while trap level is MAXTL, Error state", env->exception_index); |
| 946 |
return; |
return; |
| 947 |
} |
} |
| 948 |
#endif |
#endif |
| 996 |
#endif |
#endif |
| 997 |
#if !defined(CONFIG_USER_ONLY) |
#if !defined(CONFIG_USER_ONLY) |
| 998 |
if (env->psret == 0) { |
if (env->psret == 0) { |
| 999 |
cpu_abort(cpu_single_env, "Trap 0x%02x while interrupts disabled, Error state", env->exception_index); |
cpu_abort(env, "Trap 0x%02x while interrupts disabled, Error state", env->exception_index); |
| 1000 |
return; |
return; |
| 1001 |
} |
} |
| 1002 |
#endif |
#endif |