1 #ifndef PRIMECELL_H 2 #define PRIMECELL_H 3 4 /* Declarations for ARM PrimeCell based periperals. */ 5 /* Also includes some devices that are currently only used by the 6 ARM boards. */ 7 8 /* pl022.c */ 9 typedef int (*ssi_xfer_cb)(void *, int); 10 void pl022_init(uint32_t base, qemu_irq irq, ssi_xfer_cb xfer_cb, 11 void *opaque); 12 13 /* pl061.c */ 14 void pl061_float_high(void *opaque, uint8_t mask); 15 qemu_irq *pl061_init(uint32_t base, qemu_irq irq, qemu_irq **out); 16 17 /* pl080.c */ 18 void *pl080_init(uint32_t base, qemu_irq irq, int nchannels); 19 20 /* arm_sysctl.c */ 21 void arm_sysctl_init(uint32_t base, uint32_t sys_id); 22 23 #endif 24