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 <Zephyr>/arch/x86/core/Kconfig.ia32:25

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/x86/Kconfig:326

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