spurious_irq.c 317 B

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