mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
arm: implement get_sp for Cortex-M
On Cortex-M we can just return SP directly, which will return PSP/MSP depending on the current processor mode. Note that unwarminder doesn't handle Cortex-M exception frames yet, so a panic from an interrupt handler will currently stop at the exception boundary. Change-Id: I8818126c065c896d781bd52b877965a4094dee2a
This commit is contained in:
parent
8d5fd1b20b
commit
96b6a7b4e4
2 changed files with 10 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
|||
backtrace-unwarminder.c
|
||||
get_sp.S
|
||||
unwarm_arm.c
|
||||
unwarm.c
|
||||
unwarminder.c
|
||||
unwarmmem.c
|
||||
unwarm_thumb.c
|
||||
safe_read.S
|
||||
#if defined(CPU_ARM_CLASSIC)
|
||||
get_sp.S
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue