mainstone: convert to memory API
[qemu.git] / hw / tusb6010.h
blobb85ee862155307790b849c308e477479d306ac16
1 /*
2 * tusb6010 interfaces
4 * Copyright 2011 Red Hat, Inc. and/or its affiliates
6 * Authors:
7 * Avi Kivity <avi@redhat.com>
9 * Derived from hw/devices.h.
11 * This work is licensed under the terms of the GNU GPL, version 2. See
12 * the COPYING file in the top-level directory.
16 #ifndef TUSB6010_H
17 #define TUSB6010_H
19 #include "targphys.h"
20 #include "memory.h"
22 typedef struct TUSBState TUSBState;
23 TUSBState *tusb6010_init(qemu_irq intr);
24 MemoryRegion *tusb6010_sync_io(TUSBState *s);
25 MemoryRegion *tusb6010_async_io(TUSBState *s);
26 void tusb6010_power(TUSBState *s, int on);
28 #endif