arm: cmsis: Convert _ScbIsNestedExc to use direct CMSIS register access
Jira: ZEP-1568 Change-Id: I3d41fe88293bab2f40d9177cedb56e9265250dff Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ce591ac378
commit
cecdc99f38
3 changed files with 3 additions and 17 deletions
|
@ -88,7 +88,7 @@ _stack_frame_endif:
|
|||
eors.n r0, r0
|
||||
msr BASEPRI, r0
|
||||
|
||||
/* this reimplements _ScbIsNestedExc() */
|
||||
/* this checks to see if we are in a nested exception */
|
||||
ldr ip, =_SCS_ICSR
|
||||
ldr ip, [ip]
|
||||
ands.w ip, #_SCS_ICSR_RETTOBASE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue