:orphan: .. title:: RGF_NUM_BANKS .. option:: 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 =================== \ :option:`SOC_ARC_HSDK ` || \ :option:`SOC_ARC_IOT ` || (\ :option:`SOC_EMSDP_EM4 ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM5D ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM6 ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM7D ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM7D_ESP ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM9D ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSDP_EM11D ` && \ :option:`SOC_ARC_EMSDP `) || (\ :option:`SOC_EMSK_EM7D ` && \ :option:`SOC_EMSK `) || (\ :option:`SOC_EMSK_EM11D ` && \ :option:`SOC_EMSK `) || (\ :option:`SOC_EMSK_EM9D ` && \ :option:`SOC_EMSK `) || (\ :option:`SOC_NSIM_EM ` && \ :option:`SOC_NSIM `) || (\ :option:`SOC_NSIM_EM7D_V22 ` && \ :option:`SOC_NSIM `) || (\ :option:`SOC_NSIM_SEM ` && \ :option:`SOC_NSIM `) || (\ :option:`SOC_NSIM_HS ` && \ :option:`SOC_NSIM `) || (\ :option:`SOC_NSIM_HS_SMP ` && \ :option:`SOC_NSIM `) || \ :option:`SOC_QEMU_ARC ` || (\ :option:`CPU_ARCV2 ` && \ :option:`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 =================== .. highlight:: kconfig At ``soc/arc/snps_arc_hsdk/Kconfig.defconfig:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_ARC_HSDK ` ---- At ``soc/arc/snps_arc_iot/Kconfig.defconfig:25`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_ARC_IOT ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em4:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:14`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM4 ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em5d:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:15`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM5D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em6:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:16`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM6 ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em7d:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:17`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM7D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:18`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 1 depends on \ :option:`SOC_EMSDP_EM7D_ESP ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em9d:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:19`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM9D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em11d:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:20`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSDP_EM11D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsk/Kconfig.defconfig.em7d:24`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsk/Kconfig.defconfig:10`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 1 depends on \ :option:`SOC_EMSK_EM7D ` && \ :option:`SOC_EMSK ` ---- At ``soc/arc/snps_emsk/Kconfig.defconfig.em11d:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsk/Kconfig.defconfig:11`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSK_EM11D ` && \ :option:`SOC_EMSK ` ---- At ``soc/arc/snps_emsk/Kconfig.defconfig.em9d:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsk/Kconfig.defconfig:12`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_EMSK_EM9D ` && \ :option:`SOC_EMSK ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.em:21`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:15`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_NSIM_EM ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.em7d_v22:21`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:16`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 1 depends on \ :option:`SOC_NSIM_EM7D_V22 ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.sem:21`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:17`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 1 depends on \ :option:`SOC_NSIM_SEM ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.hs:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:18`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_NSIM_HS ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:19`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 2 depends on \ :option:`SOC_NSIM_HS_SMP ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_qemu/Kconfig.defconfig:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config RGF_NUM_BANKS int default 1 depends on \ :option:`SOC_QEMU_ARC ` ---- At ``arch/arc/Kconfig:97`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` Menu path: (Top) → ARC Options → ARCv2 Family Options .. parsed-literal:: config RGF_NUM_BANKS int "Number of General Purpose Register Banks" range 1 2 default 2 depends on \ :option:`CPU_ARCV2 ` && \ :option:`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.)*