You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/07/26 02:50:21 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9878: sched/tcbinfo: add stack info to tcbinfo

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


##########
arch/arm/src/armv8-m/arm_tcbinfo.c:
##########
@@ -108,13 +108,15 @@ static const uint16_t g_reg_offs[] =
 
 const struct tcbinfo_s g_tcbinfo =
 {
-  .pid_off   = TCB_PID_OFF,
-  .state_off = TCB_STATE_OFF,
-  .pri_off   = TCB_PRI_OFF,
-  .name_off  = TCB_NAME_OFF,
-  .regs_off  = TCB_REGS_OFF,
-  .basic_num = 17,
-  .total_num = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),
+  .pid_off        = TCB_PID_OFF,
+  .state_off      = TCB_STATE_OFF,
+  .pri_off        = TCB_PRI_OFF,
+  .name_off       = TCB_NAME_OFF,
+  .stack_off      = TCB_STACK_OFF,
+  .stack_size_off = TCB_STACK_SIZE_OFF,
+  .regs_off       = TCB_REGS_OFF,
+  .basic_num      = 17,
+  .total_num      = sizeof(g_reg_offs) / sizeof(g_reg_offs[0]),

Review Comment:
   @pkarashchenko here is fix: https://github.com/apache/nuttx/pull/9863/commits/71f0c952a5b20ccb41a9f4b95691e60e8a8a7950
   



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