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_64 && X86

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols that select this symbol

Kconfig definition

At arch/x86/core/Kconfig.ia32:25

Included via Kconfig:8Kconfig.zephyr:34arch/Kconfig:12arch/x86/Kconfig:279

Menu path: (Top) → X86 Architecture Options → Memory Layout Options

config SET_GDT
    bool "Setup GDT as part of boot process"
    default y
    depends on !X86_64 && 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.

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