Test the registration of interrupt controller with the intc_table and verify that thru the sw_isr_table APIs. Verified registration with all 3 interrupt levels. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
18 lines
388 B
Text
18 lines
388 B
Text
# Copyright (c) 2024 Meta
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if RISCV
|
|
|
|
config NUM_IRQS
|
|
int
|
|
# let's pretend that the level 1 supports 64 lines
|
|
# (MAX_IRQ_PER_AGGREGATOR x (NUM_2ND_LEVEL_AGGREGATORS + NUM_3RD_LEVEL_AGGREGATORS)) + 64
|
|
# (64 x 4) + 64 = 320
|
|
default 320
|
|
|
|
endif # RISCV
|
|
|
|
config DUMP_INTC_TABLE
|
|
bool "Enable to dump the content of intc table"
|
|
|
|
source "Kconfig.zephyr"
|