nuttx/arch/or1k/include
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
..
mor1kx arch: or1k: nxstyle fixes 2021-03-31 08:48:51 -07:00
.gitignore Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
arch.h arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
inttypes.h or1k inttypes.h: Remove PRI/SCN macros for fast and least types 2020-11-05 18:49:22 -08:00
irq.h arch: or1k: Author Gregory Nutt: update licenses to Apache 2021-03-31 08:48:51 -07:00
limits.h arch: or1k: Author Gregory Nutt: update licenses to Apache 2021-03-31 08:48:51 -07:00
spr.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
tls.h arch: Move *_getsp to the common place arch/arch.h 2020-07-09 13:51:09 +01:00
types.h arch: or1k: Author Gregory Nutt: update licenses to Apache 2021-03-31 08:48:51 -07:00