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_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

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/x86/Kconfig:482

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.)