pussuw commented on code in PR #8227:
URL: https://github.com/apache/nuttx/pull/8227#discussion_r1086672666
##########
arch/arm/src/armv7-r/arm_syscall.c:
##########
@@ -434,11 +434,31 @@ uint32_t *arm_syscall(uint32_t *regs)
if (rtcb->xcp.kstack != NULL)
{
- DEBUGASSERT(rtcb->xcp.kstkptr == NULL &&
- rtcb->xcp.ustkptr != NULL);
+ uint32_t *usp;
Review Comment:
Yes you are correct, this will create a frame that is 4/8 times too big, I
will change this to unsigned long to do the raw arithmetics.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]