masayuki2009 commented on a change in pull request #2061:
URL: https://github.com/apache/incubator-nuttx/pull/2061#discussion_r511236136
##########
File path: arch/arm/src/armv7-r/arm_vectors.S
##########
@@ -890,9 +890,9 @@ arm_vectorfiq:
mov fp, #0 /* Init frame
pointer */
mov r0, sp /* Get r0=xcp */
-#if CONFIG_ARCH_INTERRUPTSTACK > 3
+#if CONFIG_ARCH_INTERRUPTSTACK > 7
ldr sp, .Lfiqstackbase /* SP = interrupt stack
base */
- str r0, [sp] /* Save the
user stack pointer */
+ str r0, [sp, #-8]! /* Save the xcp address
at SP-8 then update SP */
Review comment:
Yes and done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]