aboutsummaryrefslogtreecommitdiff
path: root/hw/tusb6010.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-15 17:17:23 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:21:57 -0500
commit64066a8fb6ed08c542d919552a02fd0fdf22cc2c (patch)
treee7e54c6ab26157efa1bc335467bc19f615bc9af8 /hw/tusb6010.h
parentd09871f69c1863e6683d7c62a72b2d1a98e6d639 (diff)
omap_gpmc/nseries/tusb6010: convert to memory API
Somewhat clumsy since it needs a variable sized region. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/tusb6010.h')
-rw-r--r--hw/tusb6010.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/tusb6010.h b/hw/tusb6010.h
index ebb35848b9..b85ee86215 100644
--- a/hw/tusb6010.h
+++ b/hw/tusb6010.h
@@ -16,10 +16,13 @@
#ifndef TUSB6010_H
#define TUSB6010_H
+#include "targphys.h"
+#include "memory.h"
+
typedef struct TUSBState TUSBState;
TUSBState *tusb6010_init(qemu_irq intr);
-int tusb6010_sync_io(TUSBState *s);
-int tusb6010_async_io(TUSBState *s);
+MemoryRegion *tusb6010_sync_io(TUSBState *s);
+MemoryRegion *tusb6010_async_io(TUSBState *s);
void tusb6010_power(TUSBState *s, int on);
#endif