diff options
author | David Hildenbrand <david@redhat.com> | 2017-09-28 22:36:54 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-10-20 13:32:10 +0200 |
commit | 74b4c74d5efb0a489bdf0acc5b5d0197167e7649 (patch) | |
tree | 45b71699d0352d8d70bc5dfc109a6e09abe806f4 /target/s390x/internal.h | |
parent | a7a2b8e3d57582df2f176069d57c1ddae667387d (diff) |
s390x/kvm: factor out SIGP code into sigp.c
We want to use the same code base for TCG, so let's cleanly factor it
out.
The sigp mutex is currently not really needed, as everything is
protected by the iothread mutex. But this could change later, so leave
it in place and initialize it properly from common code.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-17-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/internal.h')
-rw-r--r-- | target/s390x/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/s390x/internal.h b/target/s390x/internal.h index fb8ff6b078..d6ab45add4 100644 --- a/target/s390x/internal.h +++ b/target/s390x/internal.h @@ -415,4 +415,8 @@ void handle_diag_308(CPUS390XState *env, uint64_t r1, uint64_t r3); /* translate.c */ void s390x_translate_init(void); + +/* sigp.c */ +int handle_sigp(CPUS390XState *env, uint8_t order, uint64_t r1, uint64_t r3); + #endif /* S390X_INTERNAL_H */ |