FreeBSD also has clock_gettime
[qemu/qemu-JZ.git] / hw / boards.h
blobd30c0fced9485f93740fd7609945051a80a83ceb
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 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;
31 /* pc.c */
32 extern QEMUMachine pc_machine;
33 extern QEMUMachine isapc_machine;
35 /* ppc.c */
36 extern QEMUMachine prep_machine;
37 extern QEMUMachine core99_machine;
38 extern QEMUMachine heathrow_machine;
39 extern QEMUMachine ref405ep_machine;
40 extern QEMUMachine taihu_machine;
42 /* mips_r4k.c */
43 extern QEMUMachine mips_machine;
45 /* mips_jazz.c */
46 extern QEMUMachine mips_magnum_machine;
47 extern QEMUMachine mips_pica61_machine;
49 /* mips_malta.c */
50 extern QEMUMachine mips_malta_machine;
52 /* mips_mipssim.c */
53 extern QEMUMachine mips_mipssim_machine;
55 /* shix.c */
56 extern QEMUMachine shix_machine;
58 /* r2d.c */
59 extern QEMUMachine r2d_machine;
61 /* sun4m.c */
62 extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
63 extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
64 extern QEMUMachine sbook_machine;
65 extern QEMUMachine ss2_machine;
66 extern QEMUMachine ss1000_machine, ss2000_machine;
68 /* sun4u.c */
69 extern QEMUMachine sun4u_machine;
70 extern QEMUMachine sun4v_machine;
71 extern QEMUMachine niagara_machine;
73 /* integratorcp.c */
74 extern QEMUMachine integratorcp_machine;
76 /* versatilepb.c */
77 extern QEMUMachine versatilepb_machine;
78 extern QEMUMachine versatileab_machine;
80 /* realview.c */
81 extern QEMUMachine realview_machine;
83 /* spitz.c */
84 extern QEMUMachine akitapda_machine;
85 extern QEMUMachine spitzpda_machine;
86 extern QEMUMachine borzoipda_machine;
87 extern QEMUMachine terrierpda_machine;
89 /* palm.c */
90 extern QEMUMachine palmte_machine;
92 /* nseries.c */
93 extern QEMUMachine n800_machine;
94 extern QEMUMachine n810_machine;
96 /* gumstix.c */
97 extern QEMUMachine connex_machine;
98 extern QEMUMachine verdex_machine;
100 /* stellaris.c */
101 extern QEMUMachine lm3s811evb_machine;
102 extern QEMUMachine lm3s6965evb_machine;
104 /* an5206.c */
105 extern QEMUMachine an5206_machine;
107 /* mcf5208.c */
108 extern QEMUMachine mcf5208evb_machine;
110 /* dummy_m68k.c */
111 extern QEMUMachine dummy_m68k_machine;
113 /* mainstone.c */
114 extern QEMUMachine mainstone2_machine;
116 /* musicpal.c */
117 extern QEMUMachine musicpal_machine;
119 /* tosa.c */
120 extern QEMUMachine tosapda_machine;
122 #endif