forked from Imagelibrary/seL4
riscv: use MAX_IRQ instead of PLIC_MAX_NUM_INT
Signed-off-by: Axel Heider <axelheider@gmx.de>
This commit is contained in:
committed by
Indan Zupancic
parent
a2cb6d0271
commit
b59fa0ed20
@@ -50,7 +50,7 @@ set_property(
|
||||
if(DEFINED CALLED_declare_default_headers)
|
||||
# calculate the irq cnode size based on MAX_NUM_IRQ
|
||||
if("${KernelArch}" STREQUAL "riscv")
|
||||
math(EXPR MAX_NUM_IRQ "${CONFIGURE_PLIC_MAX_NUM_INT} + 2")
|
||||
math(EXPR MAX_NUM_IRQ "${CONFIGURE_MAX_IRQ} + 2")
|
||||
else()
|
||||
if(
|
||||
DEFINED KernelMaxNumNodes
|
||||
|
||||
Reference in New Issue
Block a user