Establishing an Application Stack

When the monitor transfers control to the application, the application will be using the stack space allocated to the monitor. If the application is a simple, single-threaded program, this action might be all that is needed. Thus, the application might not need to worry about creating a stack area. On the other hand, if an RTOS is to run in the application, then it is likely that the RTOSs API will deal with the per task stack allocation. Either way, its pretty easy!



Embedded Systems Firmware Demystified
Embedded Systems Firmware Demystified (With CD-ROM)
ISBN: 1578200997
EAN: 2147483647
Year: 2002
Pages: 118
Authors: Ed Sutter

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net