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 void QEMUMachineResetFunc(void);
17 typedef struct QEMUMachine
{
21 QEMUMachineInitFunc
*init
;
22 QEMUMachineResetFunc
*reset
;
25 unsigned int no_serial
:1,
32 const char *default_machine_opts
;
33 GlobalProperty
*compat_props
;
34 struct QEMUMachine
*next
;
35 const char *hw_version
;
38 int qemu_register_machine(QEMUMachine
*m
);
39 QEMUMachine
*find_default_machine(void);
41 extern QEMUMachine
*current_machine
;