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.

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:21

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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_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 on SOC_NSIM_SEM && SOC_NSIM

At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.hs:18

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 on SOC_NSIM_HS && SOC_NSIM

At <Zephyr>/soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:18

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 on SOC_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:139

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARC Options → ARC CPU Options

config RGF_NUM_BANKS
    int "Number of General Purpose Register Banks"
    range 1 2
    default 2
    depends on ARC_FIRQ && 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.)