From 775616c3ae8c9bdd43d57274f259b09ae87217b0 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 24 Nov 2007 23:35:08 +0000 Subject: Partial SD card SPI mode support. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3731 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/primecell.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/primecell.h') diff --git a/hw/primecell.h b/hw/primecell.h index 072390bf0f..aa35adc027 100644 --- a/hw/primecell.h +++ b/hw/primecell.h @@ -21,13 +21,15 @@ void pl011_init(uint32_t base, qemu_irq irq, CharDriverState *chr, enum pl011_type type); /* pl022.c */ -void pl022_init(uint32_t base, qemu_irq irq, int (*xfer_cb)(void *, int), +typedef int (*ssi_xfer_cb)(void *, int); +void pl022_init(uint32_t base, qemu_irq irq, ssi_xfer_cb xfer_cb, void *opaque); /* pl050.c */ void pl050_init(uint32_t base, qemu_irq irq, int is_mouse); /* pl061.c */ +void pl061_float_high(void *opaque, uint8_t mask); qemu_irq *pl061_init(uint32_t base, qemu_irq irq, qemu_irq **out); /* pl080.c */ -- cgit v1.2.3