mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
cpu_loop_exit: avoid using AREG0
Make cpu_loop_exit() take a parameter for CPUState instead of relying on global env. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4d2c2b77f3
commit
1162c041c1
16 changed files with 57 additions and 56 deletions
|
@ -16,7 +16,7 @@
|
|||
void HELPER(exception)(uint32_t excp)
|
||||
{
|
||||
env->exception_index = excp;
|
||||
cpu_loop_exit();
|
||||
cpu_loop_exit(env);
|
||||
}
|
||||
|
||||
static target_ulong asr_read(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue