[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h' |
Date: |
Mon, 6 Nov 2023 12:44:55 +0100 |
In order to restrict CPUS390XState declaration to "cpu.h" (both
target-specific):
- have the following prototypes take a S390CPU* instead:
. css_do_sic()
. sclp_service_call()
. sclp_service_call_protected()
- restrict cpu_get_tb_cpu_state() definition to TCG
Philippe Mathieu-Daudé (4):
hw/s390x/css: Have css_do_sic() take S390CPU instead of CPUS390XState
hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*
target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCG
target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'
include/hw/s390x/css.h | 2 +-
include/hw/s390x/sclp.h | 5 ++---
target/s390x/cpu-qom.h | 2 --
target/s390x/cpu.h | 11 ++++++++---
hw/s390x/css.c | 3 ++-
hw/s390x/sclp.c | 7 ++++---
target/s390x/kvm/kvm.c | 4 ++--
target/s390x/tcg/misc_helper.c | 5 +++--
8 files changed, 22 insertions(+), 17 deletions(-)
--
2.41.0
- [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h',
Philippe Mathieu-Daudé <=
- [PATCH 1/4] hw/s390x/css: Have css_do_sic() take S390CPU instead of CPUS390XState, Philippe Mathieu-Daudé, 2023/11/06
- [PATCH 3/4] target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCG, Philippe Mathieu-Daudé, 2023/11/06
- [PATCH 2/4] hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*, Philippe Mathieu-Daudé, 2023/11/06
- [PATCH 4/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h', Philippe Mathieu-Daudé, 2023/11/06
- Re: [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h', Thomas Huth, 2023/11/07
- Re: [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h', Thomas Huth, 2023/11/07