Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@272 cc03376c-175c-47c8-b038-4cd826a8556b
16 lines
285 B
C
16 lines
285 B
C
#ifndef IRQ_H
|
|
#define IRQ_H
|
|
|
|
#include "xcpt.h"
|
|
|
|
#define MAX_NUM_IRQ 8
|
|
|
|
typedef void (*fp_t)(void);
|
|
|
|
int _irq_dispatch(struct xcptcontext * xcp);
|
|
void interrupt_register(int irq_num, fp_t fp);
|
|
void interrupt_enable(int irq_num);
|
|
void interrupt_disable(int irq_num);
|
|
|
|
#endif // IRQ_H
|