xiaoxiang781216 commented on code in PR #8227:
URL: https://github.com/apache/nuttx/pull/8227#discussion_r1086664938
##########
arch/risc-v/src/common/riscv_swint.c:
##########
@@ -390,11 +389,31 @@ int riscv_swint(int irq, void *context, void *arg)
if (rtcb->xcp.kstack != NULL)
{
- DEBUGASSERT(rtcb->xcp.kstkptr == NULL &&
- rtcb->xcp.ustkptr != NULL);
+ uintptr_t *usp;
Review Comment:
need change to uint8_t *?
##########
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:
need change to uint8_t *?
--
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]