mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/s390x/css: Have css_do_sic() take S390CPU instead of CPUS390XState
"hw/s390x/css.h" is a header used by target-agnostic objects (such hw/s390x/virtio-ccw-gpu.c), thus can not use target-specific types, such CPUS390XState. Have css_do_sic() take S390CPU a pointer, which is target-agnostic. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20231106114500.5269-2-philmd@linaro.org>
This commit is contained in:
parent
2bb53fa2f3
commit
6233759ae1
4 changed files with 6 additions and 4 deletions
|
@ -1358,7 +1358,7 @@ static int kvm_sic_service_call(S390CPU *cpu, struct kvm_run *run)
|
|||
|
||||
mode = env->regs[r1] & 0xffff;
|
||||
isc = (env->regs[r3] >> 27) & 0x7;
|
||||
r = css_do_sic(env, isc, mode);
|
||||
r = css_do_sic(cpu, isc, mode);
|
||||
if (r) {
|
||||
kvm_s390_program_interrupt(cpu, -r);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue