Revision 49a2942d hw/mips_fulong2e.c
b/hw/mips_fulong2e.c | ||
---|---|---|
265 | 265 |
qemu_irq *cpu_exit_irq; |
266 | 266 |
int via_devfn; |
267 | 267 |
PCIBus *pci_bus; |
268 |
ISADevice *isa_dev; |
|
269 | 268 |
uint8_t *eeprom_buf; |
270 | 269 |
i2c_bus *smbus; |
271 | 270 |
int i; |
272 | 271 |
DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS]; |
273 | 272 |
DeviceState *eeprom; |
274 |
ISADevice *rtc_state; |
|
275 | 273 |
CPUState *env; |
276 | 274 |
|
277 | 275 |
/* init CPUs */ |
... | ... | |
378 | 376 |
DMA_init(0, cpu_exit_irq); |
379 | 377 |
|
380 | 378 |
/* Super I/O */ |
381 |
isa_dev = isa_create_simple("i8042");
|
|
379 |
isa_create_simple("i8042"); |
|
382 | 380 |
|
383 |
rtc_state = rtc_init(2000, NULL);
|
|
381 |
rtc_init(2000, NULL); |
|
384 | 382 |
|
385 | 383 |
for(i = 0; i < MAX_SERIAL_PORTS; i++) { |
386 | 384 |
if (serial_hds[i]) { |
Also available in: Unified diff