2
0

spurious_irq.c 335 B

12345678910111213141516
  1. #include "compiler.h"
  2. #include "common.h"
  3. #include "picorv32.h"
  4. #include "irq.h"
  5. /* Spurious interrupt; just mask it */
  6. IRQHANDLER(spurious,0)
  7. {
  8. mask_irq(vector);
  9. }
  10. #define IRQENTRY(name,irqbase,irqn,irqcount) \
  11. IRQHANDLER_DECL(name,irqn) \
  12. __attribute__((weak,alias("irqhandler_spurious_0")));
  13. #include "irqtable.h"