Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

task's stack

Altera_Forum
Honored Contributor II
1,065 Views

Hello community, 

I have observed the contents of a task' stack from the OSTaskStkInit function to the OSStartTsk. Before jumping to the application function of the task, the stack already contains some data (e.g. OSStartTsk's address, pdata pointer, etc) and I have noticed that the "sp" cpu register points to an address that is not the end of all these data. Then, the stack frame allocated for the application function overlaps these data.  

Although it doesn't affect the functioning of the system, I wonder if that is correct. 

 

Thanks
0 Kudos
0 Replies
Reply