aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-05-20 18:38:09 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-21 08:47:55 -0500
commitf80f9ec9a63bb2200d614feb658a77b78f9a4bba (patch)
tree59e22e0a617e392a65431b82256fb443aa6ad850 /target-sparc
parentEliminate --disable-gfx-check and make VNC default when SDL not available (diff)
downloadqemu-kvm-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.tar.gz
qemu-kvm-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.tar.bz2
qemu-kvm-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.zip
Convert machine registration to use module init functions
This cleans up quite a lot of #ifdefs, extern variables, and other ugliness. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/machine.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/target-sparc/machine.c b/target-sparc/machine.c
index e845fac35..4984e8d88 100644
--- a/target-sparc/machine.c
+++ b/target-sparc/machine.c
@@ -4,28 +4,6 @@
#include "exec-all.h"
-void register_machines(void)
-{
-#ifdef TARGET_SPARC64
- qemu_register_machine(&sun4u_machine);
- qemu_register_machine(&sun4v_machine);
- qemu_register_machine(&niagara_machine);
-#else
- qemu_register_machine(&ss5_machine);
- qemu_register_machine(&ss10_machine);
- qemu_register_machine(&ss600mp_machine);
- qemu_register_machine(&ss20_machine);
- qemu_register_machine(&ss2_machine);
- qemu_register_machine(&voyager_machine);
- qemu_register_machine(&ss_lx_machine);
- qemu_register_machine(&ss4_machine);
- qemu_register_machine(&scls_machine);
- qemu_register_machine(&sbook_machine);
- qemu_register_machine(&ss1000_machine);
- qemu_register_machine(&ss2000_machine);
-#endif
-}
-
void cpu_save(QEMUFile *f, void *opaque)
{
CPUState *env = opaque;