:orphan: .. title:: CONFIG_SET_GDT .. kconfig:: CONFIG_SET_GDT CONFIG_SET_GDT ############## *Setup GDT as part of boot process* Type: ``bool`` Help ==== .. code-block:: none 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 =================== !\ :kconfig:`X86_64 ` && \ :kconfig:`X86 ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols that select this symbol =============================== - \ :kconfig:`X86_STACK_PROTECTION ` - \ :kconfig:`X86_USERSPACE ` - \ :kconfig:`X86_USE_THREAD_LOCAL_STORAGE ` Kconfig definition ================== At ``/x86/core/Kconfig.ia32:25`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/x86/Kconfig:482`` Menu path: (Top) → X86 Architecture Options → Memory Layout Options .. code-block:: kconfig 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.)*