aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/s390x-internal.h
diff options
context:
space:
mode:
authorCho, Yu-Chen <acho@suse.com>2021-07-07 18:53:18 +0800
committerCornelia Huck <cohuck@redhat.com>2021-07-07 14:01:57 +0200
commit72ffb6310baab625958fa39155d98cce6a3bb235 (patch)
tree0d9a6080f190726f461cf9e6a5991f83081fb162 /target/s390x/s390x-internal.h
parentc9274b6bf0571ecbaaed3e9c3b229e17607a0ea2 (diff)
downloadqemu-72ffb6310baab625958fa39155d98cce6a3bb235.zip
qemu-72ffb6310baab625958fa39155d98cce6a3bb235.tar.gz
qemu-72ffb6310baab625958fa39155d98cce6a3bb235.tar.bz2
target/s390x: move sysemu-only code out to cpu-sysemu.c
move sysemu-only code out to cpu-sysemu.c Signed-off-by: Claudio Fontana <cfontana@suse.de> Signed-off-by: Cho, Yu-Chen <acho@suse.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210707105324.23400-9-acho@suse.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/s390x-internal.h')
-rw-r--r--target/s390x/s390x-internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/s390x/s390x-internal.h b/target/s390x/s390x-internal.h
index 9256275..17edd4d 100644
--- a/target/s390x/s390x-internal.h
+++ b/target/s390x/s390x-internal.h
@@ -240,6 +240,12 @@ uint32_t calc_cc(CPUS390XState *env, uint32_t cc_op, uint64_t src, uint64_t dst,
#ifndef CONFIG_USER_ONLY
unsigned int s390_cpu_halt(S390CPU *cpu);
void s390_cpu_unhalt(S390CPU *cpu);
+void s390_cpu_init_sysemu(Object *obj);
+bool s390_cpu_realize_sysemu(DeviceState *dev, Error **errp);
+void s390_cpu_finalize(Object *obj);
+void s390_cpu_class_init_sysemu(CPUClass *cc);
+void s390_cpu_machine_reset_cb(void *opaque);
+
#else
static inline unsigned int s390_cpu_halt(S390CPU *cpu)
{