CONFIG_MAX_XLAT_TABLES

Maximum numbers of translation tables

Type: int

Help

This option specifies the maximum numbers of translation tables excluding the base translation table. Based on this, translation tables are allocated at compile time and used at runtime as needed. If the runtime need exceeds preallocated numbers of translation tables, it will result in assert. Number of translation tables required is decided based on how many discrete memory regions (both normal and device memory) are present on given platform and how much granularity is required while assigning attributes to these memory regions.

Direct dependencies

ARM_MMU && CPU_CORTEX_A && ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Default

  • 7

Kconfig definition

At <Zephyr>/arch/arm/core/aarch64/Kconfig:103

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

Menu path: (Top) → ARM Options

config MAX_XLAT_TABLES
    int "Maximum numbers of translation tables"
    default 7
    depends on ARM_MMU && CPU_CORTEX_A && ARM64 && ARM
    help
      This option specifies the maximum numbers of translation tables
      excluding the base translation table. Based on this, translation
      tables are allocated at compile time and used at runtime as needed.
      If the runtime need exceeds preallocated numbers of translation
      tables, it will result in assert. Number of translation tables
      required is decided based on how many discrete memory regions
      (both normal and device memory) are present on given platform and
      how much granularity is required while assigning attributes
      to these memory regions.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)