The ARM cotex M has 2 stack registers
1. PSP - Process Stack Pointer
* User task uses PSP to track individual Task stack utilisation
2. MSP - Main Stack Pointer
* The kernel uses MSP to track kernel stack utilisation
* Hardware interrupts use the kernel stack
No comments:
Post a Comment