OS threads where the source of the memory required

@2019-06-05

【notes】

  OS threads where the source of the memory required

 

  Stack into the system stack and task stack memory resources are needed for the task from the task stack, interrupt functions like memory is allocated from the system stack, the stack is required to switch between threads task stack, and switching between threads and interrupt interrupt nesting stack required from the system stack, analysis rt-thread, freertos, ucos like this

 

  Demand stack memory allocation is a key source of analysis is to look at what pointer to SP

 

Guess you like

Origin www.cnblogs.com/skullboyer/p/10979602.html