litex/software/bios/isr.c
Sebastien Bourdeauducq 22f7d1716e Remove some boilerplate
2012-05-24 19:22:27 +02:00

15 lines
226 B
C

#include <hw/uart.h>
#include <interrupt.h>
#include <irq.h>
#include <uart.h>
void isr(void);
void isr(void)
{
unsigned int irqs;
irqs = irq_pending() & irq_getmask();
if(irqs & (1 << UART_INTERRUPT))
uart_isr();
}