diff --git a/dev/interrupt/riscv_plic/plic.c b/dev/interrupt/riscv_plic/plic.c index 7127d8a1..b258c4f6 100644 --- a/dev/interrupt/riscv_plic/plic.c +++ b/dev/interrupt/riscv_plic/plic.c @@ -20,9 +20,9 @@ #define LOCAL_TRACE 0 -// Preallocate space for up to 128 vectors. +// Preallocate space for up to 256 vectors. // If more are needed will need to bump this up or switch to a dynamic scheme. -#define MAX_IRQS 128 +#define MAX_IRQS 256 static struct int_handlers { int_handler handler; void *arg;