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_DCACHE_LINE_SIZE

d-cache line size

Type: int

Help

Size in bytes of a CPU d-cache line. If this is set to 0 the value is
obtained from the 'd-cache-line-size' DT property instead if present.


Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

Direct dependencies

ARC || CACHE_MANAGEMENT

(Includes any dependencies from ifs and menus.)

Defaults

  • 32

  • 0

Kconfig definitions

At arch/arc/Kconfig:328

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

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

config DCACHE_LINE_SIZE
    int
    default 32
    depends on ARC

At arch/Kconfig:893

Included via Kconfig:8Kconfig.zephyr:37

Menu path: (Top) → Cache Options → Enable cache management features

config DCACHE_LINE_SIZE
    int "d-cache line size" if !DCACHE_LINE_SIZE_DETECT
    default 0
    depends on CACHE_MANAGEMENT
    help
      Size in bytes of a CPU d-cache line. If this is set to 0 the value is
      obtained from the 'd-cache-line-size' DT property instead if present.


      Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

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