mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
f92f8afebe
commit
f80f9ec9a6
45 changed files with 321 additions and 263 deletions
|
|
@ -3,15 +3,6 @@
|
|||
|
||||
#include "exec-all.h"
|
||||
|
||||
void register_machines(void)
|
||||
{
|
||||
qemu_register_machine(&mips_malta_machine);
|
||||
qemu_register_machine(&mips_magnum_machine);
|
||||
qemu_register_machine(&mips_pica61_machine);
|
||||
qemu_register_machine(&mips_mipssim_machine);
|
||||
qemu_register_machine(&mips_machine);
|
||||
}
|
||||
|
||||
static void save_tc(QEMUFile *f, TCState *tc)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue