From b0baa671830a28ca6ff87c975fe4e44bd82bd9e7 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 16 Sep 2002 13:36:07 +0000 Subject: [PATCH] New PIC code Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@281 --- include/pic.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/pic.h b/include/pic.h index 44a2f76d..e7b41be2 100644 --- a/include/pic.h +++ b/include/pic.h @@ -20,9 +20,14 @@ #define __PIC_H typedef void (PIC_EOIHandler) (void); -typedef void (PIC_Function)(void); -extern Bit32u PIC_IRQCheck; +#define PIC_MAXIRQ 15 +#define PIC_NOIRQ 0xFF + + +extern Bitu PIC_IRQCheck; +extern Bitu PIC_IRQActive; +extern bool PIC_IRQAgain; void PIC_ActivateIRQ(Bit32u irq); @@ -33,11 +38,6 @@ void PIC_runIRQs(void); void PIC_RegisterIRQ(Bit32u irq,PIC_EOIHandler handler,char * name); void PIC_FreeIRQ(Bit32u irq); -bool PIC_IRQActive(Bit32u irq); - -/* A Queued function should never queue itself again this will go horribly wrong */ -void PIC_QueueFunction(PIC_Function * function); - #endif