Skip to content

Commit

Permalink
[dev][interrupt][plic] kick the max irqs to 256
Browse files Browse the repository at this point in the history
Will need to figure out a cleaner way of doing this, but for now just
keep increasing the size.
  • Loading branch information
travisg committed Jun 17, 2024
1 parent 69b8bcc commit e63c132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/interrupt/riscv_plic/plic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e63c132

Please sign in to comment.