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_MMU_PAGE_SIZE

Size of smallest granularity MMU page

Type: hex

Help

Size of memory pages. Varies per MMU but 4K is common. For MMUs that
support multiple page sizes, put the smallest one here.

Direct dependencies

(ARM_MMU && (CPU_CORTEX_A || CPU_AARCH64_CORTEX_R) && ARM64) || MMU

(Includes any dependencies from ifs and menus.)

Defaults

  • 0x1000

  • 0x1000

Kconfig definitions

At arch/arm64/core/Kconfig:177

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

Menu path: (Top) → ARM64 Options

config MMU_PAGE_SIZE
    hex
    default 0x1000
    depends on ARM_MMU && (CPU_CORTEX_A || CPU_AARCH64_CORTEX_R) && ARM64

At arch/Kconfig:606

Included via Kconfig:8Kconfig.zephyr:39

Menu path: (Top) → Enable MMU features

config MMU_PAGE_SIZE
    hex "Size of smallest granularity MMU page"
    default 0x1000
    depends on MMU
    help
      Size of memory pages. Varies per MMU but 4K is common. For MMUs that
      support multiple page sizes, put the smallest one here.

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