-
CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED
¶
CLFLUSH instruction supported
Type: bool
Help¶
An implementation of sys_cache_flush() that uses CLFLUSH is made available, instead of the one using WBINVD.
This option should only be enabled if it is known in advance that the CPU supports the CLFLUSH instruction. It disables runtime detection of CLFLUSH support thereby reducing both memory footprint and boot time.
Direct dependencies¶
!CLFLUSH_DETECT
&& CACHE_MANAGEMENT
&& !X86_64
&& X86
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/arch/x86/core/Kconfig.ia32:156
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/x86/Kconfig:326
Menu path: (Top) → X86 Architecture Options → Processor Capabilities
config CLFLUSH_INSTRUCTION_SUPPORTED bool "CLFLUSH instruction supported" depends on !CLFLUSH_DETECT
&&CACHE_MANAGEMENT
&& !X86_64
&&X86
help An implementation of sys_cache_flush() that uses CLFLUSH is made available, instead of the one using WBINVD. This option should only be enabled if it is known in advance that the CPU supports the CLFLUSH instruction. It disables runtime detection of CLFLUSH support thereby reducing both memory footprint and boot time.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)