nuttx/arch/x86/src
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
..
common arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
i486 arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
qemu arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
Makefile arch: Makefile: Author Gregory Nutt: update licenses to Apache 2021-03-13 05:56:43 -08:00
README.txt Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00

arch/x86/src/README.txt
^^^^^^^^^^^^^^^^^^^^^^^

This directory holds x86-specific source files.  All x86 source reside in
lower-level common, chip-specific, and architecture-specific directories.

common/ Directory
^^^^^^^^^^^^^^^^^

This directory holds source files common to all x86 architectures.

Architecture-Specific Directories
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Architecture-specific directories hold common source files shared for by
implementations of specific x86 architectures.

i486
  This directory holds logic appropriate for any instantiation of the 32-bit
  i486 architecture.

Chip-Specific directories
^^^^^^^^^^^^^^^^^^^^^^^^^

The same x86 architecture may be realized in different chip implementations.
For SoC chips, in particular, on-chip devices and differing interrupt
structures may require special, chip-specific definitions in these chip-
specific directories.

qemu
  This is the implementation of NuttX on the QEMU x86 simulation.