Fix error reporting under Win32 (CreateFile does not set errno)
[qemu-kvm/fedora.git] / hw / mips.h
blob382ea84c61eb62e3db8597de5ce03dca8743fb20
1 #ifndef HW_MIPS_H
2 #define HW_MIPS_H
3 /* Definitions for mips board emulation. */
5 /* gt64xxx.c */
6 PCIBus *pci_gt64120_init(qemu_irq *pic);
8 /* ds1225y.c */
9 void *ds1225y_init(target_phys_addr_t mem_base, const char *filename);
10 void ds1225y_set_protection(void *opaque, int protection);
12 /* g364fb.c */
13 int g364fb_mm_init(DisplayState *ds,
14 int vram_size, int it_shift,
15 target_phys_addr_t vram_base, target_phys_addr_t ctrl_base);
17 /* mipsnet.c */
18 void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
20 /* jazz_led.c */
21 extern void jazz_led_init(DisplayState *ds, target_phys_addr_t base);
23 /* mips_int.c */
24 extern void cpu_mips_irq_init_cpu(CPUState *env);
26 /* mips_timer.c */
27 extern void cpu_mips_clock_init(CPUState *);
28 extern void cpu_mips_irqctrl_init (void);
30 /* rc4030.c */
31 qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus);
33 #endif