CONFIG_SET_GDT

Setup GDT as part of boot process

Type: bool

Help

This option sets up the GDT as part of the boot process. However, this may conflict with some security scenarios where the GDT is already appropriately set by an earlier bootloader stage, in which case this should be disabled. If disabled, the global _gdt pointer will not be available.

Direct dependencies

X86

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

Defaults

  • “y” if X86

Symbols that select this symbol

Kconfig definition

At arch/x86/core/Kconfig:47

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

Menu path: (top menu) → X86 Architecture Options → Memory Layout Options

config SET_GDT
    bool
    prompt "Setup GDT as part of boot process" if X86
    default "y" if X86
    depends on X86
    help
      This option sets up the GDT as part of the boot process. However,
      this may conflict with some security scenarios where the GDT is
      already appropriately set by an earlier bootloader stage, in which
      case this should be disabled. If disabled, the global _gdt pointer
      will not be available.

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