:orphan: .. title:: X86_MAX_ADDITIONAL_MEM_DOMAINS .. option:: CONFIG_X86_MAX_ADDITIONAL_MEM_DOMAINS *Maximum number of memory domains* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :option:`X86_MMU ` && \ :option:`USERSPACE ` && !\ :option:`X86_COMMON_PAGE_TABLE ` && \ :option:`X86 ` *(Includes any dependencies from ifs and menus.)* Default ======= - 3 Kconfig definition ================== At ``/x86/Kconfig:359`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``/Kconfig:12`` Menu path: (Top) → X86 Architecture Options .. code-block:: kconfig 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.)*