From 69008d7d5ea72dbb966ad273ea7c12d1f0be8270 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 14 Jun 2024 14:08:22 +0200 Subject: [PATCH] software/libbase/isr.c: Fix regression. --- litex/soc/software/libbase/isr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/libbase/isr.c b/litex/soc/software/libbase/isr.c index 08e7fb3ac..983c67fc7 100644 --- a/litex/soc/software/libbase/isr.c +++ b/litex/soc/software/libbase/isr.c @@ -56,7 +56,7 @@ void plic_init(void) int i; /* Set priorities for the first 8 external interrupts to 1. */ for (i = 0; i < 8; i++) - *((unsigned int *)(PLIC_BASE + PLIC_EXT_IRQ_BASE + i)) = 1; + *((unsigned int *)PLIC_BASE + PLIC_EXT_IRQ_BASE + i) = 1; /* Enable the first 8 external interrupts. */ *((unsigned int *)PLIC_ENABLED) = 0xff << PLIC_EXT_IRQ_BASE;