mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
more generic IRQ support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1445 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
cc1daa40f1
commit
54fa5af546
3 changed files with 46 additions and 27 deletions
|
@ -179,6 +179,12 @@ void pic_set_irq(int irq, int level)
|
|||
pic_update_irq();
|
||||
}
|
||||
|
||||
/* this function should be used to have the controller context */
|
||||
void pic_set_irq_new(void *opaque, int irq, int level)
|
||||
{
|
||||
pic_set_irq(irq, level);
|
||||
}
|
||||
|
||||
/* acknowledge interrupt 'irq' */
|
||||
static inline void pic_intack(PicState *s, int irq)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue