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 | 88d2c950b002a3976cd5673b0214006e72cae191 (patch) | |
tree | a165d43e40fa2d6d98fe9e9139cd809f13f5b426 /hw/devices.h | |
parent | c8256f9d23bba4fac3b0b6a9e6e3dc12362cbe0b (diff) |
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 948abc5fa..45fead9c2 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 |