diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-04-06 21:52:09 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-04-06 21:52:09 +0200 |
commit | 031e99994f495d584e3579cb3920dcc821d28ef1 (patch) | |
tree | a989486f898711d842daa6201189f8745a19b549 /code/fe310/eos/interrupt.c | |
parent | 45ffefd8a79598900ea288c726a29aa145d46bb2 (diff) |
shift register i2s impl
Diffstat (limited to 'code/fe310/eos/interrupt.c')
-rw-r--r-- | code/fe310/eos/interrupt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/code/fe310/eos/interrupt.c b/code/fe310/eos/interrupt.c index 28bd8d1..706d96b 100644 --- a/code/fe310/eos/interrupt.c +++ b/code/fe310/eos/interrupt.c @@ -15,14 +15,12 @@ static plic_instance_t plic; static eos_intr_fptr_t ext_interrupt_handler[PLIC_NUM_INTERRUPTS]; uintptr_t eos_intr_handle(uintptr_t int_num) { - // plic_source int_num = PLIC_claim_interrupt(&plic); if ((int_num >=1) && (int_num < PLIC_NUM_INTERRUPTS) && (ext_interrupt_handler[int_num])) { ext_interrupt_handler[int_num](); } else { write(1, "error\n", 6); exit(int_num); } - // PLIC_complete_interrupt(&plic, int_num); return int_num; } |