2011-08-15 18:17:22 +04:00
|
|
|
/*
|
|
|
|
* tusb6010 interfaces
|
|
|
|
*
|
|
|
|
* Copyright 2011 Red Hat, Inc. and/or its affiliates
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Avi Kivity <avi@redhat.com>
|
|
|
|
*
|
|
|
|
* Derived from hw/devices.h.
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
|
|
* the COPYING file in the top-level directory.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TUSB6010_H
|
|
|
|
#define TUSB6010_H
|
|
|
|
|
2011-08-15 18:17:23 +04:00
|
|
|
#include "targphys.h"
|
|
|
|
#include "memory.h"
|
|
|
|
|
2011-08-15 18:17:22 +04:00
|
|
|
typedef struct TUSBState TUSBState;
|
|
|
|
TUSBState *tusb6010_init(qemu_irq intr);
|
2011-08-15 18:17:23 +04:00
|
|
|
MemoryRegion *tusb6010_sync_io(TUSBState *s);
|
|
|
|
MemoryRegion *tusb6010_async_io(TUSBState *s);
|
2011-08-15 18:17:22 +04:00
|
|
|
void tusb6010_power(TUSBState *s, int on);
|
|
|
|
|
|
|
|
#endif
|