mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
exec: Change cpu_abort() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
bb0e627a84
commit
a47dddd734
41 changed files with 301 additions and 206 deletions
|
@ -80,6 +80,8 @@ static void handle_exceptions(CPUS390XState *env, uintptr_t retaddr)
|
|||
|
||||
static inline int float_comp_to_cc(CPUS390XState *env, int float_compare)
|
||||
{
|
||||
S390CPU *cpu = s390_env_get_cpu(env);
|
||||
|
||||
switch (float_compare) {
|
||||
case float_relation_equal:
|
||||
return 0;
|
||||
|
@ -90,7 +92,7 @@ static inline int float_comp_to_cc(CPUS390XState *env, int float_compare)
|
|||
case float_relation_unordered:
|
||||
return 3;
|
||||
default:
|
||||
cpu_abort(env, "unknown return value for float compare\n");
|
||||
cpu_abort(CPU(cpu), "unknown return value for float compare\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue