--- np2/io/pic.h 2003/10/16 17:57:56 1.1 +++ np2/io/pic.h 2003/12/01 17:13:36 1.2 @@ -54,6 +54,10 @@ enum { IRQ_INT6 = 0x0d }; +#define PICEXISTINTR (!pic.ext_irq) && \ + ((pic.pi[0].irr & (~pic.pi[0].imr)) || \ + (pic.pi[1].irr & (~pic.pi[1].imr))) + #ifdef __cplusplus extern "C" {