minix/kernel/arch/i386/include/hw_intr.h
2010-04-01 22:22:33 +00:00

15 lines
351 B
C

#ifndef __HW_INTR_X86_H__
#define __HW_INTR_X86_H__
#include "kernel/kernel.h"
/* legacy PIC */
_PROTOTYPE(void irq_8259_unmask,(int irq));
_PROTOTYPE(void irq_8259_mask,(int irq));
_PROTOTYPE(void irq_handle,(int irq));
#define hw_intr_mask(irq) irq_8259_mask(irq)
#define hw_intr_unmask(irq) irq_8259_unmask(irq)
#endif /* __HW_INTR_X86_H__ */