]>
Commit | Line | Data |
---|---|---|
d09871f6 AK |
1 | /* |
2 | * tusb6010 interfaces | |
3 | * | |
4 | * Copyright 2011 Red Hat, Inc. and/or its affiliates | |
5 | * | |
6 | * Authors: | |
7 | * Avi Kivity <avi@redhat.com> | |
8 | * | |
9 | * Derived from hw/devices.h. | |
10 | * | |
11 | * This work is licensed under the terms of the GNU GPL, version 2. See | |
12 | * the COPYING file in the top-level directory. | |
13 | * | |
14 | */ | |
15 | ||
16 | #ifndef TUSB6010_H | |
17 | #define TUSB6010_H | |
18 | ||
64066a8f AK |
19 | #include "targphys.h" |
20 | #include "memory.h" | |
21 | ||
d09871f6 AK |
22 | typedef struct TUSBState TUSBState; |
23 | TUSBState *tusb6010_init(qemu_irq intr); | |
64066a8f AK |
24 | MemoryRegion *tusb6010_sync_io(TUSBState *s); |
25 | MemoryRegion *tusb6010_async_io(TUSBState *s); | |
d09871f6 AK |
26 | void tusb6010_power(TUSBState *s, int on); |
27 | ||
28 | #endif |