diff options
author | Richard Henderson | 2021-06-15 05:07:40 +0200 |
---|---|---|
committer | Cornelia Huck | 2021-06-21 08:48:21 +0200 |
commit | e2b2a8649bcd4769f453497b2abffbe44c7f86ad (patch) | |
tree | d94eb699506a02f4d4cca6abf2780bb2f658fe35 /target/s390x/sigp.c | |
parent | configure: Check whether we can compile the s390-ccw bios with -msoft-float (diff) | |
download | qemu-e2b2a8649bcd4769f453497b2abffbe44c7f86ad.tar.gz qemu-e2b2a8649bcd4769f453497b2abffbe44c7f86ad.tar.xz qemu-e2b2a8649bcd4769f453497b2abffbe44c7f86ad.zip |
target/s390x: Expose load_psw and get_psw_mask to cpu.h
Rename to s390_cpu_set_psw and s390_cpu_get_psw_mask at the
same time. Adjust so that they compile for user-only.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Tested-by: jonathan.albrecht <jonathan.albrecht@linux.vnet.ibm.com>
Tested-by: <ruixin.bao@ibm.com>
Message-Id: <20210615030744.1252385-2-richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/sigp.c')
-rw-r--r-- | target/s390x/sigp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/s390x/sigp.c b/target/s390x/sigp.c index c604f17710..c2d5cdf061 100644 --- a/target/s390x/sigp.c +++ b/target/s390x/sigp.c @@ -235,7 +235,8 @@ static void sigp_restart(CPUState *cs, run_on_cpu_data arg) cpu_synchronize_state(cs); /* * Set OPERATING (and unhalting) before loading the restart PSW. - * load_psw() will then properly halt the CPU again if necessary (TCG). + * s390_cpu_set_psw() will then properly halt the CPU again if + * necessary (TCG). */ s390_cpu_set_state(S390_CPU_STATE_OPERATING, cpu); do_restart_interrupt(&cpu->env); |