fix event fallout in grlib_apbuart.c
[qemu/aliguori.git] / hw / primecell.h
blobde7d6f2df2537c336642eec4aba93cbbce2c8dc8
1 #ifndef PRIMECELL_H
2 #define PRIMECELL_H
4 /* Declarations for ARM PrimeCell based periperals. */
5 /* Also includes some devices that are currently only used by the
6 ARM boards. */
8 /* pl080.c */
9 void *pl080_init(uint32_t base, qemu_irq irq, int nchannels);
11 /* arm_sysctl.c */
12 void arm_sysctl_init(uint32_t base, uint32_t sys_id, uint32_t proc_id);
14 /* arm_sysctl GPIO lines */
15 #define ARM_SYSCTL_GPIO_MMC_WPROT 0
16 #define ARM_SYSCTL_GPIO_MMC_CARDIN 1
18 #endif