summaryrefslogtreecommitdiff
path: root/hw/devices.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-10-03 14:42:42 +0200
committerAvi Kivity <avi@redhat.com>2011-10-17 15:59:18 +0200
commitfe06bd93e307c4449dc1b87af2e5eac0ebe41c3a (patch)
tree079a9d71bf28eb1ae5e8e1980138e479affc3494 /hw/devices.h
parent9f7adc31adc20cc19908e116af444cb3215be552 (diff)
downloadqemu-fe06bd93e307c4449dc1b87af2e5eac0ebe41c3a.tar.gz
tc63963xb: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/devices.h')
-rw-r--r--hw/devices.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/devices.h b/hw/devices.h
index 8ac384ff20..1a55c1e905 100644
--- a/hw/devices.h
+++ b/hw/devices.h
@@ -53,7 +53,8 @@ void retu_key_event(void *retu, int state);
/* tc6393xb.c */
typedef struct TC6393xbState TC6393xbState;
#define TC6393XB_RAM 0x110000 /* amount of ram for Video and USB */
-TC6393xbState *tc6393xb_init(uint32_t base, qemu_irq irq);
+TC6393xbState *tc6393xb_init(struct MemoryRegion *sysmem,
+ uint32_t base, qemu_irq irq);
void tc6393xb_gpio_out_set(TC6393xbState *s, int line,
qemu_irq handler);
qemu_irq *tc6393xb_gpio_in_get(TC6393xbState *s);