Fix vga on PPC
[qemu/mini2440.git] / hw / boards.h
blob0577f06baf8a5fad1582095e33a393196dc26101
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,
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 int max_cpus;
22 struct QEMUMachine *next;
23 } QEMUMachine;
25 int qemu_register_machine(QEMUMachine *m);
26 void register_machines(void);
28 /* Axis ETRAX. */
29 extern QEMUMachine bareetraxfs_machine;
30 extern QEMUMachine axisdev88_machine;
32 /* pc.c */
33 extern QEMUMachine pc_machine;
34 extern QEMUMachine isapc_machine;
36 /* ppc.c */
37 extern QEMUMachine prep_machine;
38 extern QEMUMachine core99_machine;
39 extern QEMUMachine heathrow_machine;
40 extern QEMUMachine ref405ep_machine;
41 extern QEMUMachine taihu_machine;
42 extern QEMUMachine bamboo_machine;
44 /* mips_r4k.c */
45 extern QEMUMachine mips_machine;
47 /* mips_jazz.c */
48 extern QEMUMachine mips_magnum_machine;
49 extern QEMUMachine mips_pica61_machine;
51 /* mips_malta.c */
52 extern QEMUMachine mips_malta_machine;
54 /* mips_mipssim.c */
55 extern QEMUMachine mips_mipssim_machine;
57 /* shix.c */
58 extern QEMUMachine shix_machine;
60 /* r2d.c */
61 extern QEMUMachine r2d_machine;
63 /* sun4m.c */
64 extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
65 extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
66 extern QEMUMachine sbook_machine;
67 extern QEMUMachine ss2_machine;
68 extern QEMUMachine ss1000_machine, ss2000_machine;
70 /* sun4u.c */
71 extern QEMUMachine sun4u_machine;
72 extern QEMUMachine sun4v_machine;
73 extern QEMUMachine niagara_machine;
75 /* integratorcp.c */
76 extern QEMUMachine integratorcp_machine;
78 /* versatilepb.c */
79 extern QEMUMachine versatilepb_machine;
80 extern QEMUMachine versatileab_machine;
82 /* realview.c */
83 extern QEMUMachine realview_machine;
85 /* spitz.c */
86 extern QEMUMachine akitapda_machine;
87 extern QEMUMachine spitzpda_machine;
88 extern QEMUMachine borzoipda_machine;
89 extern QEMUMachine terrierpda_machine;
91 /* omap_sx1.c */
92 extern QEMUMachine sx1_machine_v1;
93 extern QEMUMachine sx1_machine_v2;
95 /* palm.c */
96 extern QEMUMachine palmte_machine;
98 /* nseries.c */
99 extern QEMUMachine n800_machine;
100 extern QEMUMachine n810_machine;
102 /* gumstix.c */
103 extern QEMUMachine connex_machine;
104 extern QEMUMachine verdex_machine;
106 /* stellaris.c */
107 extern QEMUMachine lm3s811evb_machine;
108 extern QEMUMachine lm3s6965evb_machine;
110 /* an5206.c */
111 extern QEMUMachine an5206_machine;
113 /* mcf5208.c */
114 extern QEMUMachine mcf5208evb_machine;
116 /* dummy_m68k.c */
117 extern QEMUMachine dummy_m68k_machine;
119 /* mainstone.c */
120 extern QEMUMachine mainstone2_machine;
122 /* musicpal.c */
123 extern QEMUMachine musicpal_machine;
125 /* tosa.c */
126 extern QEMUMachine tosapda_machine;
128 #endif