URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [tags/] [nog_patch_63/] [or1ksim/] [testbench/] [support/] [int.h] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* Number of interrupt handlers */ #define MAX_INT_HANDLERS 32 /* High - low priority */ #define INT_HIGH_PRI 1 #define INT_LOW_PRI 0 /* Interrupt vectors */ #define V_TICK 3 /* Handler entry */ struct ihnd { void (*handler)(); void *arg; }; /* Add interrupt handler */ int int_add(unsigned long vect, void (* handler)(), void *arg/*, int hilo*/); /* Initialize routine */ int int_init();
Go to most recent revision | Compare with Previous | Blame | View Log