mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
cpu_single_env usage fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1644 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
173d6cfe51
commit
c68ea7043f
15 changed files with 129 additions and 88 deletions
|
@ -942,7 +942,7 @@ void do_interrupt(int intno)
|
|||
#endif
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
if (env->tl == MAXTL) {
|
||||
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);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
@ -996,7 +996,7 @@ void do_interrupt(int intno)
|
|||
#endif
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
if (env->psret == 0) {
|
||||
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);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue