incubator-nuttx/arch/x86_64
Xiang Xiao 3f67c67aaf arch: Fix the stack boundary calculation and check
All supported arch uses a push-down stack:
The stack grows toward lower addresses in memory. The stack pointer
register points to the lowest, valid working address (the "top" of
the stack). Items on the stack are referenced as positive(include zero)
word offsets from sp.
Which means that for stack in the [begin, begin + size):
1.The initial SP point to begin + size
2.push equals sub and then store
3.pop equals load and then add

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 08:39:54 -07:00
..
include arch: x86_64: fix Mixed Case errors 2021-04-07 10:48:26 -05:00
src arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
Kconfig arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00