Forums

DSP/BIOS Stack Questions

Started by Randy Yates May 21, 2010
Note that Mariana, from TI, posted some pretty good answers to these
questions on the TI E2E forum:

  http://e2e.ti.com/support/embedded/f/355/t/48974.aspx

--Randy

Randy Yates <yates@ieee.org> writes:

> a. The javascript bios.MEM object (in the .tcf file) has a "global > stack" that can be manipulated with bios.MEM.STACKSIZE and > bios.MEM.STACKSEG. What is the "global stack" used for? > > b. Where does the C compiler stack get initialized prior to main()? > > c. Tasks (and probably other threads) have their own stacks, but > what stack does DSP/BIOS use for it's own execution? For example, > inside a TSK_switch() call, there must be a "system" stack - where > does this stack reside and what sets its size? > > d. From which heap or stack does DSP/BIOS take memory from for > dynamically-created objects, such as semaphores and tasks? > > This is DSP/BIOS 5.33.06 under CCS 3.3 SR 11. > > --Randy
-- Randy Yates % "She's sweet on Wagner-I think she'd die for Beethoven. Digital Signal Labs % She love the way Puccini lays down a tune, and mailto://yates@ieee.org % Verdi's always creepin' from her room." http://www.digitalsignallabs.com % "Rockaria", *A New World Record*, ELO