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,
29 const char *default_machine_opts
;
30 GlobalProperty
*compat_props
;
31 struct QEMUMachine
*next
;
32 const char *hw_version
;
35 int qemu_register_machine(QEMUMachine
*m
);
36 QEMUMachine
*find_default_machine(void);
38 extern QEMUMachine
*current_machine
;