1 /* Declarations for use by board files for creating devices. */
8 typedef void QEMUMachineInitFunc(ram_addr_t ram_size
,
9 const char *boot_device
,
10 const char *kernel_filename
,
11 const char *kernel_cmdline
,
12 const char *initrd_filename
,
13 const char *cpu_model
);
15 typedef struct QEMUMachine
{
19 QEMUMachineInitFunc
*init
;
22 unsigned int no_serial
:1,
30 GlobalProperty
*compat_props
;
31 struct QEMUMachine
*next
;
34 int qemu_register_machine(QEMUMachine
*m
);
36 extern QEMUMachine
*current_machine
;