summaryrefslogtreecommitdiff
path: root/target-s390x/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-02 13:56:29 +0200
committerAndreas Färber <afaerber@suse.de>2012-04-04 17:35:31 +0200
commit8f22e0df803697c11e8b10c90cc2e67df6e42884 (patch)
tree184b596095a127af1b6934bcfd4a63d4d8056c8c /target-s390x/cpu.h
parent1ac1a7499bcb44174735780e0bd0421a1ac7a323 (diff)
downloadqemu-8f22e0df803697c11e8b10c90cc2e67df6e42884.tar.gz
target-s390x: QOM'ify CPU init
Move code from cpu_s390x_init() into an initfn. Signed-off-by: Andreas Färber <afaerber@suse.de> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r--target-s390x/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index c6ee959a38..2f3f3942c0 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -288,6 +288,9 @@ int cpu_s390x_handle_mmu_fault (CPUS390XState *env, target_ulong address, int rw
#ifndef CONFIG_USER_ONLY
+void s390x_tod_timer(void *opaque);
+void s390x_cpu_timer(void *opaque);
+
int s390_virtio_hypercall(CPUS390XState *env, uint64_t mem, uint64_t hypercall);
#ifdef CONFIG_KVM