CONFIG_X86_USERSPACE

(No prompt – not directly user assignable.)

Type: bool

Help

This option enables APIs to drop a thread’s privileges down to ring 3, supporting user-level threads that are protected from each other and from crashing the kernel.

Help

This option enables APIs to drop a thread’s privileges down to ring 3, supporting user-level threads that are protected from each other and from crashing the kernel.

Direct dependencies

(!X86_64 && X86) || (X86_64 && X86)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <Zephyr>/arch/x86/core/Kconfig.ia32:67

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

Menu path: (Top) → X86 Architecture Options → Processor Capabilities

config X86_USERSPACE
    bool
    default y if USERSPACE
    select THREAD_STACK_INFO
    select SET_GDT
    select GDT_DYNAMIC
    select X86_ENABLE_TSS
    depends on !X86_64 && X86
    help
      This option enables APIs to drop a thread's privileges down to ring 3,
      supporting user-level threads that are protected from each other and
      from crashing the kernel.

At <Zephyr>/arch/x86/core/Kconfig.intel64:81

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

Menu path: (Top) → X86 Architecture Options

config X86_USERSPACE
    bool
    default y if USERSPACE
    select THREAD_STACK_INFO
    depends on X86_64 && X86
    help
      This option enables APIs to drop a thread's privileges down to ring 3,
      supporting user-level threads that are protected from each other and
      from crashing the kernel.

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