Implement cancellation method for dma async I/O (Avi Kivity)
[qemu-kvm/fedora.git] / hw / boards.h
blob1e625942f878542919d99520dd32287a93424cd6
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 extern QEMUMachine *current_machine;
30 /* Axis ETRAX. */
31 extern QEMUMachine bareetraxfs_machine;
32 extern QEMUMachine axisdev88_machine;
34 /* pc.c */
35 extern QEMUMachine pc_machine;
36 extern QEMUMachine isapc_machine;
38 /* ppc.c */
39 extern QEMUMachine prep_machine;
40 extern QEMUMachine core99_machine;
41 extern QEMUMachine heathrow_machine;
42 extern QEMUMachine ref405ep_machine;
43 extern QEMUMachine taihu_machine;
44 extern QEMUMachine bamboo_machine;
45 extern QEMUMachine mpc8544ds_machine;
47 /* mips_r4k.c */
48 extern QEMUMachine mips_machine;
50 /* mips_jazz.c */
51 extern QEMUMachine mips_magnum_machine;
52 extern QEMUMachine mips_pica61_machine;
54 /* mips_malta.c */
55 extern QEMUMachine mips_malta_machine;
57 /* mips_mipssim.c */
58 extern QEMUMachine mips_mipssim_machine;
60 /* shix.c */
61 extern QEMUMachine shix_machine;
63 /* r2d.c */
64 extern QEMUMachine r2d_machine;
66 /* sun4m.c */
67 extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
68 extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
69 extern QEMUMachine sbook_machine;
70 extern QEMUMachine ss2_machine;
71 extern QEMUMachine ss1000_machine, ss2000_machine;
73 /* sun4u.c */
74 extern QEMUMachine sun4u_machine;
75 extern QEMUMachine sun4v_machine;
76 extern QEMUMachine niagara_machine;
78 /* integratorcp.c */
79 extern QEMUMachine integratorcp_machine;
81 /* versatilepb.c */
82 extern QEMUMachine versatilepb_machine;
83 extern QEMUMachine versatileab_machine;
85 /* realview.c */
86 extern QEMUMachine realview_machine;
88 /* spitz.c */
89 extern QEMUMachine akitapda_machine;
90 extern QEMUMachine spitzpda_machine;
91 extern QEMUMachine borzoipda_machine;
92 extern QEMUMachine terrierpda_machine;
94 /* omap_sx1.c */
95 extern QEMUMachine sx1_machine_v1;
96 extern QEMUMachine sx1_machine_v2;
98 /* palm.c */
99 extern QEMUMachine palmte_machine;
101 /* nseries.c */
102 extern QEMUMachine n800_machine;
103 extern QEMUMachine n810_machine;
105 /* gumstix.c */
106 extern QEMUMachine connex_machine;
107 extern QEMUMachine verdex_machine;
109 /* stellaris.c */
110 extern QEMUMachine lm3s811evb_machine;
111 extern QEMUMachine lm3s6965evb_machine;
113 /* an5206.c */
114 extern QEMUMachine an5206_machine;
116 /* mcf5208.c */
117 extern QEMUMachine mcf5208evb_machine;
119 /* dummy_m68k.c */
120 extern QEMUMachine dummy_m68k_machine;
122 /* mainstone.c */
123 extern QEMUMachine mainstone2_machine;
125 /* musicpal.c */
126 extern QEMUMachine musicpal_machine;
128 /* tosa.c */
129 extern QEMUMachine tosapda_machine;
131 #endif