Swatantra-66 commented on code in PR #21140:
URL: https://github.com/apache/nuttx/pull/21140#discussion_r4431767788


##########
arch/arm/src/armv8-r/arm_syscall.c:
##########
@@ -183,6 +183,16 @@ uint32_t *arm_syscall(uint32_t *regs)
 
   cmd = regs[REG_R0];
 
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
+  if ((regs[REG_CPSR] & PSR_MODE_MASK) == PSR_MODE_USR &&

Review Comment:
   Removed. ARMv8-R only supports FLAT build without unprivileged user mode 
separation, so this check was unnecessary



-- 
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]

Reply via email to