zephyr/arch
Andrew Boie d149909b03 x86: properly align initial dummy thread
x86-32 thread objects require special alignment since they
contain a buffer that is passed to fxsave/fxrstor instructions.
This fell over if the dummy thread is created in a stack frame.

Implement a custom swap to main for x86 which still uses a
dummy thread, but in an unused part of the interrupt stack
with proper alignment.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-05-13 21:23:52 +02:00
..
arc arch: arc: fix the bug of firq stack setup for slave cores 2020-05-13 16:23:54 +02:00
arm aarch32: fix a build failure 2020-05-08 13:59:17 -05:00
common gen_isr_tables: error improvements 2020-04-17 18:28:47 +02:00
nios2 kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
posix posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00
riscv kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
x86 x86: properly align initial dummy thread 2020-05-13 21:23:52 +02:00
xtensa kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
CMakeLists.txt arch: Simplify private header include path configuration. 2019-11-06 16:07:32 -08:00
Kconfig x86: properly align initial dummy thread 2020-05-13 21:23:52 +02:00