|
|||||||||||
|
Technical Support On-Line Manuals RL-ARM User's Guide |
RL-ARM User's GuideStack SizeThe stack usage of a particular task depends on its amount of local automatic variables and the number of subroutine levels. On task switch, the RTX kernel stores also ARM registers on the stack. Devices with Hardware Floating Point unit need additional space for storing the VFP registers. The size of stack used for the context save is:
The minimum stack size is thus the sum of the context save size, the size of local variables and the number of subroutine levels.
| ||||||||||
|
|||||||||||