diff options
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r-- | hw/mips_malta.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 564eaa6114..eb81edf1c2 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -949,8 +949,15 @@ void mips_malta_init (ram_addr_t ram_size, } } -QEMUMachine mips_malta_machine = { +static QEMUMachine mips_malta_machine = { .name = "malta", .desc = "MIPS Malta Core LV", .init = mips_malta_init, }; + +static void mips_malta_machine_init(void) +{ + qemu_register_machine(&mips_malta_machine); +} + +machine_init(mips_malta_machine_init); |