hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*
commit6d3910c9dbad5ff47c43214397f7afef9645ceb7
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 Nov 2023 06:55:22 +0000 (6 07:55 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (7 13:08 +0100)
tree478e4c8784bf1e408ed0938d253ec80f58207e1f
parent6233759ae15302e0ea60b8cda849fcd2c01d8098
hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*

"hw/s390x/sclp.h" is a header used by target-agnostic objects
(such hw/char/sclpconsole[-lm].c), thus can not use target-specific
types, such CPUS390XState.

Have sclp_service_call[_protected]() take a S390CPU 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-3-philmd@linaro.org>
hw/s390x/sclp.c
include/hw/s390x/sclp.h
target/s390x/kvm/kvm.c
target/s390x/tcg/misc_helper.c