diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-09 00:03:13 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-09 00:03:13 +0000 |
commit | cc9fe0717b2311a3d8e96c5126008687048e9f4a (patch) | |
tree | a165d43e40fa2d6d98fe9e9139cd809f13f5b426 /hw/devices.h | |
parent | f594aab397de3fe1538bdf9ec68b1575994d4557 (diff) | |
download | qemu-cc9fe0717b2311a3d8e96c5126008687048e9f4a.tar.gz qemu-cc9fe0717b2311a3d8e96c5126008687048e9f4a.tar.bz2 qemu-cc9fe0717b2311a3d8e96c5126008687048e9f4a.zip |
TC6393XB system features (Dmitry Baryshkov).
Add basic support for TC6393XB system features. No support for GPIO
input though.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4702 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/devices.h')
-rw-r--r-- | hw/devices.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/devices.h b/hw/devices.h index 948abc5faf..45fead9c27 100644 --- a/hw/devices.h +++ b/hw/devices.h @@ -64,4 +64,11 @@ int tusb6010_sync_io(struct tusb_s *s); int tusb6010_async_io(struct tusb_s *s); void tusb6010_power(struct tusb_s *s, int on); +/* tc6393xb.c */ +struct tc6393xb_s; +struct tc6393xb_s *tc6393xb_init(uint32_t base, qemu_irq irq); +void tc6393xb_gpio_out_set(struct tc6393xb_s *s, int line, + qemu_irq handler); +qemu_irq *tc6393xb_gpio_in_get(struct tc6393xb_s *s); + #endif |