masayuki2009 commented on a change in pull request #2061:
URL: https://github.com/apache/incubator-nuttx/pull/2061#discussion_r510525078
##########
File path: arch/arm/src/armv7-a/arm_vectors.S
##########
@@ -1004,7 +1005,8 @@ arm_vectorfiq:
#if CONFIG_ARCH_INTERRUPTSTACK > 7
setfiqstack r1, r4 /* SP = FIQ stack top */
- str r0, [sp] /* Save the
user stack pointer */
+ sub sp, #8 /* Adjust SP
(minus 8-byte offset) */
+ str r0, [sp] /* Save the xcp
address */
Review comment:
OK
##########
File path: arch/arm/src/arm/arm_vectors.S
##########
@@ -132,7 +132,8 @@ arm_vectorirq:
#if CONFIG_ARCH_INTERRUPTSTACK > 3
ldr sp, .Lirqstackbase /* SP = interrupt stack base */
- str r0, [sp] /* Save the user stack pointer */
+ sub sp, #4 /* Adjust SP (minus 4-byte
offset) */
+ str r0, [sp] /* Save the xcp address */
Review comment:
OK
----------------------------------------------------------------
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]