Fix mingw32 build warnings
[qemu-kvm/fedora.git] / hw / boards.h
blobf6733b7cc9e21e5f944201dd8070a8853b200574
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,
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 int use_scsi;
18 int max_cpus;
19 int is_default;
20 struct QEMUMachine *next;
21 } QEMUMachine;
23 int qemu_register_machine(QEMUMachine *m);
25 extern QEMUMachine *current_machine;
27 #endif