zephyr/include/arch
Andrew Boie d95f5374b4 x86: fix _arch_syscall_invoke6
arg6 is treated as a memory constraint. If that memory
address was expressed as an operand to 'mov' in the generated
code as an offset from the stack pointer, then the 'push'
instruction immediately before it could end up causing memory 4
bytes off from what was intended being passed in as the 6th
argument.

Add ESP register to the clobber list to fix this issue.

Fixes issues observed with k_thread_create() passing in a
NULL argument list with CONFIG_DEBUG=y.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-10-18 10:24:25 -07:00
..
arc k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
arm userspace: treat thread stacks as kernel objects 2017-10-16 19:02:00 -07:00
nios2 k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
riscv32 k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
x86 x86: fix _arch_syscall_invoke6 2017-10-18 10:24:25 -07:00
xtensa k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
cpu.h Xtensa port: Added support in arch/cpu.h for Xtensa cores. 2017-02-13 08:04:27 -08:00