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 2023/01/05 13:27:08 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8037: arch:change tcbinfo regs num

xiaoxiang781216 commented on code in PR #8037:
URL: https://github.com/apache/nuttx/pull/8037#discussion_r1062472338


##########
arch/arm/src/arm/arm_tcbinfo.c:
##########
@@ -66,7 +66,7 @@ const struct tcbinfo_s g_tcbinfo =
   .name_off  = TCB_NAME_OFF,
   .regs_off  = TCB_REGS_OFF,
   .basic_num = 17,
-  .total_num = XCPTCONTEXT_REGS,
+  .total_num = sizeof(g_reg_offs) / sizeof(uint16_t),

Review Comment:
   g_reg_offs[0]



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