-
CONFIG_RGF_NUM_BANKS
¶
Number of General Purpose Register Banks
Type: int
Help¶
The ARC CPU can be configured to have more than one register bank. If fast interrupts are supported (FIRQ), the 2nd register bank, in the set, will be used by FIRQ interrupts. If fast interrupts are supported but there is only 1 register bank, the fast interrupt handler must save and restore general purpose registers.
Direct dependencies¶
SOC_ARC_HSDK
|| SOC_ARC_IOT
|| (SOC_EMSDP_EM4
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM5D
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM6
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM7D
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM7D_ESP
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM9D
&& SOC_ARC_EMSDP
) || (SOC_EMSDP_EM11D
&& SOC_ARC_EMSDP
) || (SOC_EMSK_EM7D
&& SOC_EMSK
) || (SOC_EMSK_EM11D
&& SOC_EMSK
) || (SOC_EMSK_EM9D
&& SOC_EMSK
) || (SOC_NSIM_EM
&& SOC_NSIM
) || (SOC_NSIM_EM7D_V22
&& SOC_NSIM
) || (SOC_NSIM_SEM
&& SOC_NSIM
) || (SOC_NSIM_HS
&& SOC_NSIM
) || (SOC_NSIM_HS_SMP
&& SOC_NSIM
) || SOC_QEMU_ARC
|| (CPU_ARCV2
&& ARC
)
(Includes any dependencies from ifs and menus.)
Defaults¶
2
2
2
2
2
2
1
2
2
1
2
2
2
1
1
2
2
1
2
Kconfig definitions¶
At <Zephyr>/soc/arc/snps_arc_hsdk/Kconfig.defconfig:18
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config RGF_NUM_BANKS
int
default 2
depends on SOC_ARC_HSDK
At <Zephyr>/soc/arc/snps_arc_iot/Kconfig.defconfig:25
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config RGF_NUM_BANKS
int
default 2
depends on SOC_ARC_IOT
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em4:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:14
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM4
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em5d:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:15
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM5D
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em6:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:16
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM6
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em7d:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:17
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM7D
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:18
Menu path: (Top)
config RGF_NUM_BANKS int default 1 depends onSOC_EMSDP_EM7D_ESP
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em9d:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:19
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM9D
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig.em11d:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsdp/Kconfig.defconfig:20
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSDP_EM11D
&&SOC_ARC_EMSDP
At <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig.em7d:24
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig:10
Menu path: (Top)
config RGF_NUM_BANKS int default 1 depends onSOC_EMSK_EM7D
&&SOC_EMSK
At <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig.em11d:20
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig:11
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSK_EM11D
&&SOC_EMSK
At <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig.em9d:20
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_emsk/Kconfig.defconfig:12
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_EMSK_EM9D
&&SOC_EMSK
At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.em:21
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig:15
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_NSIM_EM
&&SOC_NSIM
At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.em7d_v22:21
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig:16
Menu path: (Top)
config RGF_NUM_BANKS int default 1 depends onSOC_NSIM_EM7D_V22
&&SOC_NSIM
At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.sem:21
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig:17
Menu path: (Top)
config RGF_NUM_BANKS int default 1 depends onSOC_NSIM_SEM
&&SOC_NSIM
At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.hs:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig:18
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_NSIM_HS
&&SOC_NSIM
At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:15
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig:19
Menu path: (Top)
config RGF_NUM_BANKS int default 2 depends onSOC_NSIM_HS_SMP
&&SOC_NSIM
At <Zephyr>/soc/arc/snps_qemu/Kconfig.defconfig:18
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
Menu path: (Top)
config RGF_NUM_BANKS
int
default 1
depends on SOC_QEMU_ARC
At <Zephyr>/arch/arc/Kconfig:97
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
→ <Zephyr>/arch/Kconfig:12
Menu path: (Top) → ARC Options → ARCv2 Family Options
config RGF_NUM_BANKS int "Number of General Purpose Register Banks" range 1 2 default 2 depends onCPU_ARCV2
&&ARC
help The ARC CPU can be configured to have more than one register bank. If fast interrupts are supported (FIRQ), the 2nd register bank, in the set, will be used by FIRQ interrupts. If fast interrupts are supported but there is only 1 register bank, the fast interrupt handler must save and restore general purpose registers.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)