summaryrefslogtreecommitdiffstats
path: root/target/s390x/tcg-stub.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-09-27 15:02:55 +0200
committerCornelia Huck2018-10-04 10:32:39 +0200
commit52341ed61d3a7b84602f6ee6b4234027ed5e6172 (patch)
tree15db59ec3d36ca5384970eb7751de92f61b686d6 /target/s390x/tcg-stub.c
parenttarget/s390x: exception on non-aligned LPSW(E) (diff)
downloadqemu-52341ed61d3a7b84602f6ee6b4234027ed5e6172.tar.gz
qemu-52341ed61d3a7b84602f6ee6b4234027ed5e6172.tar.xz
qemu-52341ed61d3a7b84602f6ee6b4234027ed5e6172.zip
s390x: move tcg_s390_program_interrupt() into TCG code and mark it noreturn
Move it into TCG-only code and provide a stub. Turn it into noreturn. As Richard noted, we currently don't log the psw.addr before restoring the state, fix that by moving (duplicating) the qemu_log_mask in the tcg/kvm handlers. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180927130303.12236-2-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/tcg-stub.c')
-rw-r--r--target/s390x/tcg-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/s390x/tcg-stub.c b/target/s390x/tcg-stub.c
index c93501db0b..dc444fc867 100644
--- a/target/s390x/tcg-stub.c
+++ b/target/s390x/tcg-stub.c
@@ -18,3 +18,8 @@
void tcg_s390_tod_updated(CPUState *cs, run_on_cpu_data opaque)
{
}
+void QEMU_NORETURN tcg_s390_program_interrupt(CPUS390XState *env, uint32_t code,
+ int ilen, uintptr_t ra)
+{
+ g_assert_not_reached();
+}