mpc8544ds.c (97052d64e4fb934bcf25f4a6b42dc06f6ecbf9eb) mpc8544ds.c (e264d29de28c5b0be3d063307ce9fb613b427cc3)
1/*
2 * Support for the PPC e500-based mpc8544ds board
3 *
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 *
6 * This is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 36 unchanged lines hidden (view full) ---

45 error_report("The MPC8544DS board only supports up to 3GB of RAM");
46 exit(1);
47 }
48
49 ppce500_init(machine, &params);
50}
51
52
1/*
2 * Support for the PPC e500-based mpc8544ds board
3 *
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 *
6 * This is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 36 unchanged lines hidden (view full) ---

45 error_report("The MPC8544DS board only supports up to 3GB of RAM");
46 exit(1);
47 }
48
49 ppce500_init(machine, &params);
50}
51
52
53static QEMUMachine ppce500_machine = {
54 .name = "mpc8544ds",
55 .desc = "mpc8544ds",
56 .init = mpc8544ds_init,
57 .max_cpus = 15,
58};
59
60static void ppce500_machine_init(void)
53static void ppce500_machine_init(MachineClass *mc)
61{
54{
62 qemu_register_machine(&ppce500_machine);
55 mc->desc = "mpc8544ds";
56 mc->init = mpc8544ds_init;
57 mc->max_cpus = 15;
63}
64
58}
59
65machine_init(ppce500_machine_init);
60DEFINE_MACHINE("mpc8544ds", ppce500_machine_init)