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_QUARK_SE_C1000_SS || (SOC_EMSK_EM7D && SOC_EMSK) || (SOC_EMSK_EM11D && SOC_EMSK) || (SOC_EMSK_EM9D && SOC_EMSK) || (SOC_NSIM_EM && SOC_NSIM) || (SOC_NSIM_SEM && SOC_NSIM) || (CPU_ARCV2 && ARC)

(Includes any dependencies from if’s and menus.)

Kconfig definitions

At arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig:22

Included via Kconfig:10Kconfig.zephyr:20

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 2 if SOC_QUARK_SE_C1000_SS
    depends on SOC_QUARK_SE_C1000_SS

At arch/arc/soc/snps_emsk/Kconfig.defconfig.em7d:27

Included via Kconfig:10Kconfig.zephyr:20arch/arc/soc/snps_emsk/Kconfig.defconfig:14

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 1 if SOC_EMSK_EM7D && SOC_EMSK
    depends on SOC_EMSK_EM7D && SOC_EMSK

At arch/arc/soc/snps_emsk/Kconfig.defconfig.em11d:23

Included via Kconfig:10Kconfig.zephyr:20arch/arc/soc/snps_emsk/Kconfig.defconfig:15

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 2 if SOC_EMSK_EM11D && SOC_EMSK
    depends on SOC_EMSK_EM11D && SOC_EMSK

At arch/arc/soc/snps_emsk/Kconfig.defconfig.em9d:23

Included via Kconfig:10Kconfig.zephyr:20arch/arc/soc/snps_emsk/Kconfig.defconfig:16

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 2 if SOC_EMSK_EM9D && SOC_EMSK
    depends on SOC_EMSK_EM9D && SOC_EMSK

At arch/arc/soc/snps_nsim/Kconfig.defconfig.em:24

Included via Kconfig:10Kconfig.zephyr:20arch/arc/soc/snps_nsim/Kconfig.defconfig:17

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 2 if SOC_NSIM_EM && SOC_NSIM
    depends on SOC_NSIM_EM && SOC_NSIM

At arch/arc/soc/snps_nsim/Kconfig.defconfig.sem:24

Included via Kconfig:10Kconfig.zephyr:20arch/arc/soc/snps_nsim/Kconfig.defconfig:18

Menu path: (top menu)

config RGF_NUM_BANKS
    int
    default 1 if SOC_NSIM_SEM && SOC_NSIM
    depends on SOC_NSIM_SEM && SOC_NSIM

At arch/arc/Kconfig:81

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → ARC Options → ARCv2 Family Options

config RGF_NUM_BANKS
    int
    prompt "Number of General Purpose Register Banks" if CPU_ARCV2 && ARC
    range 1 2 if CPU_ARCV2 && ARC
    default 2 if CPU_ARCV2 && ARC
    depends on CPU_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.

(Definitions include propagated dependencies, including from if’s and menus.)