From 75554a3ca10a7ad295d2a3d2e14ee6ba90f94c8b Mon Sep 17 00:00:00 2001 From: balrog Date: Sat, 20 Sep 2008 01:10:32 +0000 Subject: Allow attaching devices to OMAP UARTs. Also avoid two signedness warnings in hw/omap2.c. The API to attach new devices to serials is fine, bu the implementation is a hack. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5263 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/omap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/omap.h') diff --git a/hw/omap.h b/hw/omap.h index 7006ecbe8e..4c30436a3e 100644 --- a/hw/omap.h +++ b/hw/omap.h @@ -660,6 +660,7 @@ struct omap_uart_s *omap2_uart_init(struct omap_target_agent_s *ta, qemu_irq irq, omap_clk fclk, omap_clk iclk, qemu_irq txdma, qemu_irq rxdma, CharDriverState *chr); void omap_uart_reset(struct omap_uart_s *s); +void omap_uart_attach(struct omap_uart_s *s, CharDriverState *chr); struct omap_mpuio_s; struct omap_mpuio_s *omap_mpuio_init(target_phys_addr_t base, -- cgit 1.4.1