diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-02 13:56:29 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-04 17:35:31 +0200 |
commit | 8f22e0df803697c11e8b10c90cc2e67df6e42884 (patch) | |
tree | 184b596095a127af1b6934bcfd4a63d4d8056c8c /target-s390x/cpu.h | |
parent | 1ac1a7499bcb44174735780e0bd0421a1ac7a323 (diff) | |
download | qemu-8f22e0df803697c11e8b10c90cc2e67df6e42884.zip qemu-8f22e0df803697c11e8b10c90cc2e67df6e42884.tar.gz qemu-8f22e0df803697c11e8b10c90cc2e67df6e42884.tar.bz2 |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index c6ee959..2f3f394 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 |