1
0
Fork 0

New PIC code

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@281
This commit is contained in:
Sjoerd van der Berg 2002-09-16 13:36:07 +00:00
parent 5252435b78
commit b0baa67183

View file

@ -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