Skip to content
Commit 796d9162 authored by Daniel Leung's avatar Daniel Leung Committed by David Leach
Browse files

x86: x86_64: fix tls setup in early boot



During early boot in assembly, the function parameter to
z_x86_early_tls_update_gdt() should be the pointer to
the interrupt stack. However, what was passed instead
was the pointer to the x86_cpuboot struct. So fix it to
actually pass the stack pointer (which is stashed inside
the x86_cpuboot struct).

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 739573ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment