Keil Logo

RTX166: DOES RTX166 FULL PERFORM DYNAMIC STACK SWAPPING?


Information in this article applies to:

  • RTX166 Version 4.01

QUESTION

Does RTX Full have the same limitation as RTX Tiny in that you cannot freely pass the addresses of automatic variables because the OS performs stack swapping during a context switch?

ANSWER

In a multi-tasking environment the life stack data of a task belongs to its private data. RTX-166 implements this requirement differently for Standard and for Fast Tasks.

  • Standard tasks share a common register bank and the system stack.
  • Fast tasks use their own register banks and their own private sections of the system stack.

Consequently, you won't have the same limitation found in RTX166 Tiny.

MORE INFORMATION

  • RTX-166 Real-Time Multitasking Executive for the 166/167 Microcontroller Family User's Guide 2.2000 - Chapter 4

Last Reviewed: Friday, July 22, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.