2007-11-17 20:14:51 +03:00
|
|
|
/* Declarations for use by board files for creating devices. */
|
|
|
|
|
|
|
|
#ifndef HW_BOARDS_H
|
|
|
|
#define HW_BOARDS_H
|
|
|
|
|
2008-04-28 01:12:55 +04:00
|
|
|
typedef void QEMUMachineInitFunc(ram_addr_t ram_size, int vga_ram_size,
|
2009-01-16 22:04:14 +03:00
|
|
|
const char *boot_device,
|
2007-11-18 11:46:58 +03:00
|
|
|
const char *kernel_filename,
|
|
|
|
const char *kernel_cmdline,
|
|
|
|
const char *initrd_filename,
|
|
|
|
const char *cpu_model);
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
typedef struct QEMUMachine {
|
|
|
|
const char *name;
|
|
|
|
const char *desc;
|
|
|
|
QEMUMachineInitFunc *init;
|
2008-09-28 22:55:17 +04:00
|
|
|
int use_scsi;
|
2008-10-08 00:39:39 +04:00
|
|
|
int max_cpus;
|
2007-11-17 20:14:51 +03:00
|
|
|
struct QEMUMachine *next;
|
|
|
|
} QEMUMachine;
|
|
|
|
|
|
|
|
int qemu_register_machine(QEMUMachine *m);
|
2008-05-04 17:11:44 +04:00
|
|
|
void register_machines(void);
|
2007-11-17 20:14:51 +03:00
|
|
|
|
2009-02-11 18:21:54 +03:00
|
|
|
extern QEMUMachine *current_machine;
|
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
/* Axis ETRAX. */
|
|
|
|
extern QEMUMachine bareetraxfs_machine;
|
2009-01-07 15:19:50 +03:00
|
|
|
extern QEMUMachine axisdev88_machine;
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
/* pc.c */
|
|
|
|
extern QEMUMachine pc_machine;
|
|
|
|
extern QEMUMachine isapc_machine;
|
|
|
|
|
2009-04-22 19:19:10 +04:00
|
|
|
/* xen_machine.c */
|
|
|
|
extern QEMUMachine xenpv_machine;
|
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
/* ppc.c */
|
|
|
|
extern QEMUMachine prep_machine;
|
|
|
|
extern QEMUMachine core99_machine;
|
|
|
|
extern QEMUMachine heathrow_machine;
|
|
|
|
extern QEMUMachine ref405ep_machine;
|
|
|
|
extern QEMUMachine taihu_machine;
|
2008-12-16 13:44:14 +03:00
|
|
|
extern QEMUMachine bamboo_machine;
|
2009-03-02 19:42:42 +03:00
|
|
|
extern QEMUMachine mpc8544ds_machine;
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
/* mips_r4k.c */
|
|
|
|
extern QEMUMachine mips_machine;
|
|
|
|
|
2008-04-07 23:47:14 +04:00
|
|
|
/* mips_jazz.c */
|
|
|
|
extern QEMUMachine mips_magnum_machine;
|
2008-04-08 23:51:06 +04:00
|
|
|
extern QEMUMachine mips_pica61_machine;
|
2008-04-07 23:47:14 +04:00
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
/* mips_malta.c */
|
|
|
|
extern QEMUMachine mips_malta_machine;
|
|
|
|
|
|
|
|
/* mips_mipssim.c */
|
|
|
|
extern QEMUMachine mips_mipssim_machine;
|
|
|
|
|
|
|
|
/* shix.c */
|
|
|
|
extern QEMUMachine shix_machine;
|
|
|
|
|
|
|
|
/* r2d.c */
|
|
|
|
extern QEMUMachine r2d_machine;
|
|
|
|
|
|
|
|
/* sun4m.c */
|
2007-12-10 23:00:11 +03:00
|
|
|
extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
|
2008-03-05 21:27:45 +03:00
|
|
|
extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
|
|
|
|
extern QEMUMachine sbook_machine;
|
2007-12-28 23:59:23 +03:00
|
|
|
extern QEMUMachine ss2_machine;
|
2007-12-28 23:57:43 +03:00
|
|
|
extern QEMUMachine ss1000_machine, ss2000_machine;
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
/* sun4u.c */
|
|
|
|
extern QEMUMachine sun4u_machine;
|
2008-07-22 11:07:34 +04:00
|
|
|
extern QEMUMachine sun4v_machine;
|
2008-09-26 23:48:58 +04:00
|
|
|
extern QEMUMachine niagara_machine;
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
/* integratorcp.c */
|
|
|
|
extern QEMUMachine integratorcp_machine;
|
|
|
|
|
|
|
|
/* versatilepb.c */
|
|
|
|
extern QEMUMachine versatilepb_machine;
|
|
|
|
extern QEMUMachine versatileab_machine;
|
|
|
|
|
|
|
|
/* realview.c */
|
|
|
|
extern QEMUMachine realview_machine;
|
|
|
|
|
|
|
|
/* spitz.c */
|
|
|
|
extern QEMUMachine akitapda_machine;
|
|
|
|
extern QEMUMachine spitzpda_machine;
|
|
|
|
extern QEMUMachine borzoipda_machine;
|
|
|
|
extern QEMUMachine terrierpda_machine;
|
|
|
|
|
2008-12-15 05:05:00 +03:00
|
|
|
/* omap_sx1.c */
|
|
|
|
extern QEMUMachine sx1_machine_v1;
|
|
|
|
extern QEMUMachine sx1_machine_v2;
|
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
/* palm.c */
|
|
|
|
extern QEMUMachine palmte_machine;
|
|
|
|
|
2008-04-15 01:57:44 +04:00
|
|
|
/* nseries.c */
|
|
|
|
extern QEMUMachine n800_machine;
|
2008-05-07 18:30:38 +04:00
|
|
|
extern QEMUMachine n810_machine;
|
2008-04-15 01:57:44 +04:00
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
/* gumstix.c */
|
|
|
|
extern QEMUMachine connex_machine;
|
2007-11-25 02:47:38 +03:00
|
|
|
extern QEMUMachine verdex_machine;
|
2007-11-17 20:14:51 +03:00
|
|
|
|
|
|
|
/* stellaris.c */
|
|
|
|
extern QEMUMachine lm3s811evb_machine;
|
|
|
|
extern QEMUMachine lm3s6965evb_machine;
|
|
|
|
|
|
|
|
/* an5206.c */
|
|
|
|
extern QEMUMachine an5206_machine;
|
|
|
|
|
|
|
|
/* mcf5208.c */
|
|
|
|
extern QEMUMachine mcf5208evb_machine;
|
|
|
|
|
|
|
|
/* dummy_m68k.c */
|
|
|
|
extern QEMUMachine dummy_m68k_machine;
|
|
|
|
|
2007-11-25 04:57:38 +03:00
|
|
|
/* mainstone.c */
|
|
|
|
extern QEMUMachine mainstone2_machine;
|
|
|
|
|
2008-04-24 23:21:53 +04:00
|
|
|
/* musicpal.c */
|
|
|
|
extern QEMUMachine musicpal_machine;
|
|
|
|
|
2008-06-02 05:33:11 +04:00
|
|
|
/* tosa.c */
|
|
|
|
extern QEMUMachine tosapda_machine;
|
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
#endif
|