- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. ThanksLink Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page