This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_X86_MAX_ADDITIONAL_MEM_DOMAINS

Maximum number of memory domains

Type: int

Help

The initial page tables at boot are pre-allocated, and used for the
default memory domain. Instantiation of additional memory domains
if common page tables are in use requires a pool of free pinned
memory pages for constructing page tables.

Zephyr test cases assume 3 additional domains can be instantiated.

Direct dependencies

X86_MMU && USERSPACE && !X86_COMMON_PAGE_TABLE && X86

(Includes any dependencies from ifs and menus.)

Default

  • 3

Kconfig definition

At arch/x86/Kconfig:358

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config X86_MAX_ADDITIONAL_MEM_DOMAINS
    int "Maximum number of memory domains"
    default 3
    depends on X86_MMU && USERSPACE && !X86_COMMON_PAGE_TABLE && X86
    help
      The initial page tables at boot are pre-allocated, and used for the
      default memory domain. Instantiation of additional memory domains
      if common page tables are in use requires a pool of free pinned
      memory pages for constructing page tables.

      Zephyr test cases assume 3 additional domains can be instantiated.

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