]> git.proxmox.com Git - mirror_qemu.git/commit
s390x/tcg: introduce and use s390_program_interrupt()
authorDavid Hildenbrand <david@redhat.com>
Thu, 30 Nov 2017 16:27:29 +0000 (17:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (17:56 +0100)
commit8d2f850a5ab7579a852f23b28273940a47dfd7ff
treeee84f4d36dd39e1c75bf3c6758030e7fac8485d8
parent9879003bb82c1351fa84feb81aa1bbcf7442ca84
s390x/tcg: introduce and use s390_program_interrupt()

Allows to easily convert more callers of program_interrupt() and to
easily introduce new exceptions without forgetting about the cpu state
reset.

Use s390_program_interrupt() in places where we already had the same
pattern. We will later get rid of program_interrupt().

RA != 0 checks are already done behind the scenes.

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: <20171130162744.25442-2-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/crypto_helper.c
target/s390x/excp_helper.c
target/s390x/interrupt.c
target/s390x/mem_helper.c
target/s390x/misc_helper.c