aboutsummaryrefslogtreecommitdiff
path: root/hw/omap.h
diff options
context:
space:
mode:
authorcmchao <cmchao@gmail.com>2010-05-31 23:54:19 +0800
committerAurelien Jarno <aurelien@aurel32.net>2010-06-30 20:41:37 +0200
commit7f132a21fcaceb8fdcf305e657209207039ff3b3 (patch)
tree6fa88a087ed9235e9a31ef2e551869a0ee87be9b /hw/omap.h
parent0bf43016004f5c7f69b4aa0094cb88f2a471e4c7 (diff)
downloadqemu-7f132a21fcaceb8fdcf305e657209207039ff3b3.zip
qemu-7f132a21fcaceb8fdcf305e657209207039ff3b3.tar.gz
qemu-7f132a21fcaceb8fdcf305e657209207039ff3b3.tar.bz2
hw/omap1.c : separate interrupt controller module
Signed-off-by: cmchao <cmchao@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/omap.h')
-rw-r--r--hw/omap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/omap.h b/hw/omap.h
index ad4a465..ea23ec9 100644
--- a/hw/omap.h
+++ b/hw/omap.h
@@ -71,6 +71,7 @@ target_phys_addr_t omap_l4_attach(struct omap_target_agent_s *ta, int region,
int iotype);
# define l4_register_io_memory cpu_register_io_memory
+/* OMAP interrupt controller */
struct omap_intr_handler_s;
struct omap_intr_handler_s *omap_inth_init(target_phys_addr_t base,
unsigned long size, unsigned char nbanks, qemu_irq **pins,
@@ -80,6 +81,7 @@ struct omap_intr_handler_s *omap2_inth_init(target_phys_addr_t base,
qemu_irq parent_irq, qemu_irq parent_fiq,
omap_clk fclk, omap_clk iclk);
void omap_inth_reset(struct omap_intr_handler_s *s);
+qemu_irq omap_inth_get_pin(struct omap_intr_handler_s *s, int n);
struct omap_prcm_s;
struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta,