From 88d2c950b002a3976cd5673b0214006e72cae191 Mon Sep 17 00:00:00 2001 From: balrog Date: Mon, 9 Jun 2008 00:03:13 +0000 Subject: TC6393XB system features (Dmitry Baryshkov). Add basic support for TC6393XB system features. No support for GPIO input though. Signed-off-by: Dmitry Baryshkov git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4702 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/devices.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hw/devices.h') 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 -- cgit v1.2.1