Browse Source

include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256

Increase maximum number of hardware events that can be mapped
by OpenSBI to 256

Signed-off-by: Jun Liang Tan <junliang.tan@starfivetech.com>
Jun Liang Tan 2 years ago
parent
commit
066e15f65c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/sbi/sbi_pmu.h

+ 1 - 1
include/sbi/sbi_pmu.h

@@ -17,7 +17,7 @@
 
 /* Event related macros */
 /* Maximum number of hardware events that can mapped by OpenSBI */
-#define SBI_PMU_HW_EVENT_MAX 64
+#define SBI_PMU_HW_EVENT_MAX 256
 
 /* Maximum number of firmware events that can mapped by OpenSBI */
 #define SBI_PMU_FW_EVENT_MAX 32