projects
/
litex.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c49d31d8dbd8b6bcb88774d504f619eaee04fb0c
[litex.git]
/
litex
/
soc
/
misoc
/
software
/
bios
/
isr.c
1
#include <generated/csr.h>
2
#include <irq.h>
3
#include <uart.h>
4
5
void
isr
(
void
);
6
void
isr
(
void
)
7
{
8
unsigned int
irqs
;
9
10
irqs
=
irq_pending
() &
irq_getmask
();
11
12
if
(
irqs
& (
1
<<
UART_INTERRUPT
))
13
uart_isr
();
14
}