Resurrect the safe part of r5274
[qemu/mini2440.git] / hw / boards.h
blob119c2f60cd169a2fc984fec25f6e972dd6e616dd
1 /* Declarations for use by board files for creating devices. */
3 #ifndef HW_BOARDS_H
4 #define HW_BOARDS_H
6 typedef void QEMUMachineInitFunc(ram_addr_t ram_size, int vga_ram_size,
7 const char *boot_device, DisplayState *ds,
8 const char *kernel_filename,
9 const char *kernel_cmdline,
10 const char *initrd_filename,
11 const char *cpu_model);
13 typedef struct QEMUMachine {
14 const char *name;
15 const char *desc;
16 QEMUMachineInitFunc *init;
17 #define RAMSIZE_FIXED (1 << 0)
18 ram_addr_t ram_require;
19 int nodisk_ok;
20 int use_scsi;
21 struct QEMUMachine *next;
22 } QEMUMachine;
24 int qemu_register_machine(QEMUMachine *m);
25 void register_machines(void);
27 /* Axis ETRAX. */
28 extern QEMUMachine bareetraxfs_machine;
30 /* pc.c */
31 extern QEMUMachine pc_machine;
32 extern QEMUMachine isapc_machine;
34 /* ppc.c */
35 extern QEMUMachine prep_machine;
36 extern QEMUMachine core99_machine;
37 extern QEMUMachine heathrow_machine;
38 extern QEMUMachine ref405ep_machine;
39 extern QEMUMachine taihu_machine;
41 /* mips_r4k.c */
42 extern QEMUMachine mips_machine;
44 /* mips_jazz.c */
45 extern QEMUMachine mips_magnum_machine;
46 extern QEMUMachine mips_pica61_machine;
48 /* mips_malta.c */
49 extern QEMUMachine mips_malta_machine;
51 /* mips_mipssim.c */
52 extern QEMUMachine mips_mipssim_machine;
54 /* shix.c */
55 extern QEMUMachine shix_machine;
57 /* r2d.c */
58 extern QEMUMachine r2d_machine;
60 /* sun4m.c */
61 extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
62 extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
63 extern QEMUMachine sbook_machine;
64 extern QEMUMachine ss2_machine;
65 extern QEMUMachine ss1000_machine, ss2000_machine;
67 /* sun4u.c */
68 extern QEMUMachine sun4u_machine;
69 extern QEMUMachine sun4v_machine;
70 extern QEMUMachine niagara_machine;
72 /* integratorcp.c */
73 extern QEMUMachine integratorcp_machine;
75 /* versatilepb.c */
76 extern QEMUMachine versatilepb_machine;
77 extern QEMUMachine versatileab_machine;
79 /* realview.c */
80 extern QEMUMachine realview_machine;
82 /* spitz.c */
83 extern QEMUMachine akitapda_machine;
84 extern QEMUMachine spitzpda_machine;
85 extern QEMUMachine borzoipda_machine;
86 extern QEMUMachine terrierpda_machine;
88 /* palm.c */
89 extern QEMUMachine palmte_machine;
91 /* nseries.c */
92 extern QEMUMachine n800_machine;
93 extern QEMUMachine n810_machine;
95 /* gumstix.c */
96 extern QEMUMachine connex_machine;
97 extern QEMUMachine verdex_machine;
99 /* stellaris.c */
100 extern QEMUMachine lm3s811evb_machine;
101 extern QEMUMachine lm3s6965evb_machine;
103 /* an5206.c */
104 extern QEMUMachine an5206_machine;
106 /* mcf5208.c */
107 extern QEMUMachine mcf5208evb_machine;
109 /* dummy_m68k.c */
110 extern QEMUMachine dummy_m68k_machine;
112 /* mainstone.c */
113 extern QEMUMachine mainstone2_machine;
115 /* musicpal.c */
116 extern QEMUMachine musicpal_machine;
118 /* tosa.c */
119 extern QEMUMachine tosapda_machine;
121 #endif