From e63c132f9c4db45f7800e7a8f27c1a0d3304f51e Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Mon, 17 Jun 2024 00:42:07 -0700 Subject: [PATCH] [dev][interrupt][plic] kick the max irqs to 256 Will need to figure out a cleaner way of doing this, but for now just keep increasing the size. --- dev/interrupt/riscv_plic/plic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/interrupt/riscv_plic/plic.c b/dev/interrupt/riscv_plic/plic.c index 7127d8a19..b258c4f66 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;