1 /* Declarations for use by board files for creating devices. */ 2 3 #ifndef HW_BOARDS_H 4 #define HW_BOARDS_H 5 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); 12 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; 22 23 int qemu_register_machine(QEMUMachine *m); 24 25 extern QEMUMachine *current_machine; 26 27 /* android_arm.c */ 28 extern QEMUMachine android_arm_machine; 29 30 #endif 31