boards.h 2.9 KB
Newer Older
P
pbrook 已提交
1 2 3 4 5
/* Declarations for use by board files for creating devices.  */

#ifndef HW_BOARDS_H
#define HW_BOARDS_H

6
typedef void QEMUMachineInitFunc(ram_addr_t ram_size, int vga_ram_size,
7 8 9 10 11
                                 const char *boot_device, DisplayState *ds,
                                 const char *kernel_filename,
                                 const char *kernel_cmdline,
                                 const char *initrd_filename,
                                 const char *cpu_model);
P
pbrook 已提交
12 13 14 15 16

typedef struct QEMUMachine {
    const char *name;
    const char *desc;
    QEMUMachineInitFunc *init;
17
#define RAMSIZE_FIXED	(1 << 0)
18
    ram_addr_t ram_require;
19
    int nodisk_ok;
20
    int use_scsi;
21
    int max_cpus;
P
pbrook 已提交
22 23 24 25
    struct QEMUMachine *next;
} QEMUMachine;

int qemu_register_machine(QEMUMachine *m);
A
aurel32 已提交
26
void register_machines(void);
P
pbrook 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

/* Axis ETRAX.  */
extern QEMUMachine bareetraxfs_machine;

/* pc.c */
extern QEMUMachine pc_machine;
extern QEMUMachine isapc_machine;

/* ppc.c */
extern QEMUMachine prep_machine;
extern QEMUMachine core99_machine;
extern QEMUMachine heathrow_machine;
extern QEMUMachine ref405ep_machine;
extern QEMUMachine taihu_machine;

/* mips_r4k.c */
extern QEMUMachine mips_machine;

A
aurel32 已提交
45 46
/* mips_jazz.c */
extern QEMUMachine mips_magnum_machine;
A
aurel32 已提交
47
extern QEMUMachine mips_pica61_machine;
A
aurel32 已提交
48

P
pbrook 已提交
49 50 51 52 53 54 55 56 57 58 59 60 61
/* 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 */
62
extern QEMUMachine ss5_machine, ss10_machine, ss600mp_machine, ss20_machine;
B
blueswir1 已提交
63 64
extern QEMUMachine voyager_machine, ss_lx_machine, ss4_machine, scls_machine;
extern QEMUMachine sbook_machine;
B
blueswir1 已提交
65
extern QEMUMachine ss2_machine;
66
extern QEMUMachine ss1000_machine, ss2000_machine;
P
pbrook 已提交
67 68 69

/* sun4u.c */
extern QEMUMachine sun4u_machine;
70
extern QEMUMachine sun4v_machine;
B
blueswir1 已提交
71
extern QEMUMachine niagara_machine;
P
pbrook 已提交
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91

/* 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;

/* palm.c */
extern QEMUMachine palmte_machine;

B
balrog 已提交
92 93
/* nseries.c */
extern QEMUMachine n800_machine;
B
balrog 已提交
94
extern QEMUMachine n810_machine;
B
balrog 已提交
95

P
pbrook 已提交
96 97
/* gumstix.c */
extern QEMUMachine connex_machine;
98
extern QEMUMachine verdex_machine;
P
pbrook 已提交
99 100 101 102 103 104 105 106 107 108 109 110 111 112

/* 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;

113 114 115
/* mainstone.c */
extern QEMUMachine mainstone2_machine;

116 117 118
/* musicpal.c */
extern QEMUMachine musicpal_machine;

119 120 121
/* tosa.c */
extern QEMUMachine tosapda_machine;

P
pbrook 已提交
122
#endif