commit | 796d9162d144dbe7ec7ed0b13b618c251725b438 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Mar 14 15:27:32 2024 -0700 |
committer | David Leach <david.leach@nxp.com> | Fri Mar 22 16:15:12 2024 -0500 |
tree | 7fa7211797cab6130219ed415a06be4fef76566c | |
parent | 739573ee8e43b0d185606732501c25a6da96f1d7 [diff] |
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: Daniel Leung <daniel.leung@intel.com>