Revision f80f9ec9 hw/gumstix.c
b/hw/gumstix.c | ||
---|---|---|
109 | 109 |
pxa2xx_gpio_in_get(cpu->gpio)[99]); |
110 | 110 |
} |
111 | 111 |
|
112 |
QEMUMachine connex_machine = { |
|
112 |
static QEMUMachine connex_machine = {
|
|
113 | 113 |
.name = "connex", |
114 | 114 |
.desc = "Gumstix Connex (PXA255)", |
115 | 115 |
.init = connex_init, |
116 | 116 |
}; |
117 | 117 |
|
118 |
QEMUMachine verdex_machine = { |
|
118 |
static QEMUMachine verdex_machine = {
|
|
119 | 119 |
.name = "verdex", |
120 | 120 |
.desc = "Gumstix Verdex (PXA270)", |
121 | 121 |
.init = verdex_init, |
122 | 122 |
}; |
123 |
|
|
124 |
static void gumstix_machine_init(void) |
|
125 |
{ |
|
126 |
qemu_register_machine(&connex_machine); |
|
127 |
qemu_register_machine(&verdex_machine); |
|
128 |
} |
|
129 |
|
|
130 |
machine_init(gumstix_machine_init); |
Also available in: Unified diff