Skip to content

Commit

Permalink
Attach interrupt handler earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Dec 8, 2023
1 parent edb29e1 commit 5ef2692
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/risc-v/src/jh7110/jh7110_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void up_irqinitialize(void)

/* Attach the common interrupt handler */

//// TODO: riscv_exception_attach();
riscv_exception_attach();

/* Disable all global interrupts */

Expand Down Expand Up @@ -92,10 +92,6 @@ void up_irqinitialize(void)

putreg32(0, JH7110_PLIC_THRESHOLD);

/* Attach the common interrupt handler */

riscv_exception_attach(); //// TODO: Should move earlier

#ifdef CONFIG_SMP
/* Clear RISCV_IPI for CPU0 */

Expand Down

0 comments on commit 5ef2692

Please sign in to comment.