tcbinfo: add packet align to struct tcbinfo

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
zhuyanlin
2022-01-13 20:31:51 +08:00
committed by Xiang Xiao
parent 8f1c6ee7bc
commit 6578461cc8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -766,7 +766,7 @@ struct pthread_tcb_s
*/
#ifdef CONFIG_DEBUG_TCBINFO
struct tcbinfo_s
begin_packed_struct struct tcbinfo_s
{
uint16_t pid_off; /* Offset of tcb.pid */
uint16_t state_off; /* Offset of tcb.task_state */
@@ -787,7 +787,7 @@ struct tcbinfo_s
uint8_t u[8];
FAR uint16_t *p;
} reg_off;
};
} end_packed_struct;
#endif
/* This is the callback type used by nxsched_foreach() */