[BACK]Return to kern_irq.h CVS log [TXT][DIR] Up to [local] / funnyos / sys

Annotation of funnyos/sys/kern_irq.h, Revision 1.1

1.1     ! init        1: /*
        !             2:  * $Id$
        !             3:  */
        !             4: #ifndef _SYS_KERN_IRQ_H
        !             5: #define _SYS_KERN_IRQ_H
        !             6:
        !             7: #include <sys/types.h>
        !             8: #include <sys/device.h>
        !             9:
        !            10: struct intr_vector {
        !            11:        uint8_t                 iv_intrno;                                                      /* interrupt number in attachinfo */
        !            12:        struct device   *iv_device;                                                     /* associated device */
        !            13:        void                    (*iv_intrfunc)(struct device *);        /* interrupt handler in device driver */
        !            14:
        !            15:        struct intr_vector *iv_next;                                            /* next vector in linked list */
        !            16: };
        !            17:
        !            18:
        !            19: void intr_establish(uint8_t intrno, struct device *device, void (*intrfunc)(struct device *));
        !            20: void intr_disestablish(uint8_t intrno);
        !            21: void intr_execute(uint8_t intrno);
        !            22:
        !            23: #endif /* not _SYS_KERN_IRQ_H */
        !            24:

CVSweb