CONFIG_X86_KERNEL_OOPS

Enable handling of kernel oops as an exception

Type: bool

Help

Enable handling of k_oops() API as a CPU exception, which will provide extra debugging information such as program counter and register values when the oops is triggered. Requires an entry in the IDT.

Direct dependencies

X86

(Includes any dependencies from if’s and menus.)

Defaults

  • “y” if X86

Kconfig definition

At arch/x86/Kconfig:268

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

config X86_KERNEL_OOPS
    bool
    prompt "Enable handling of kernel oops as an exception" if X86
    default "y" if X86
    depends on X86
    help
      Enable handling of k_oops() API as a CPU exception, which will provide
      extra debugging information such as program counter and register
      values when the oops is triggered. Requires an entry in the IDT.

(Definitions include propagated dependencies, including from if’s and menus.)