aboutsummaryrefslogtreecommitdiffstats
path: root/hw/sh_intc.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 18:49:57 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 18:49:57 +0000
commitc6d86a33d36891bd5090ea72134b9854d6811173 (patch)
tree67fc4033db10455bf8fcc096de991c130c3a509a /hw/sh_intc.h
parenta4a771c055ea50f255f0d9a555c8628587afbea3 (diff)
sh4: Add IRL (4-bit encoded interrupt input) support (Takashi YOSHII).
This patch adds IRL(4bit encoded 15 level interrupt input) support to SH using qemu_irq as a multi level (!=on/off) signal. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5925 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sh_intc.h')
-rw-r--r--hw/sh_intc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/sh_intc.h b/hw/sh_intc.h
index 4362dcf10..4e36f007d 100644
--- a/hw/sh_intc.h
+++ b/hw/sh_intc.h
@@ -75,4 +75,6 @@ int sh_intc_init(struct intc_desc *desc,
struct intc_prio_reg *prio_regs,
int nr_prio_regs);
+void sh_intc_set_irl(void *opaque, int n, int level);
+
#endif /* __SH_INTC_H__ */