You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/25 13:01:46 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5337: tcbinfo: Update tcbinfo struct, Fix the compile warning

xiaoxiang781216 commented on a change in pull request #5337:
URL: https://github.com/apache/incubator-nuttx/pull/5337#discussion_r791687694



##########
File path: arch/arm/src/arm/arm_tcbinfo.c
##########
@@ -63,6 +54,22 @@ const struct tcbinfo_s g_tcbinfo =
   TCB_REG_OFF(REG_CPSR),
 };
 
+/****************************************************************************
+ * Public Data
+ ****************************************************************************/
+
+const struct tcbinfo_s g_tcbinfo =
+{
+  TCB_PID_OFF,
+  TCB_STATE_OFF,
+  TCB_PRI_OFF,
+  TCB_NAME_OFF,
+  XCPTCONTEXT_REGS,
+  {
+    .p = g_reg_offs,

Review comment:
       arm arch already has many similar construct, so we relax the check until we do the final decision?




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org