no1wudi commented on a change in pull request #4935:
URL: https://github.com/apache/incubator-nuttx/pull/4935#discussion_r764014086
##########
File path: include/nuttx/arch.h
##########
@@ -2398,6 +2398,40 @@ int up_rtc_getdatetime_with_subseconds(FAR struct tm
*tp, FAR long *nsec);
int up_rtc_settime(FAR const struct timespec *tp);
#endif
+/****************************************************************************
+ * Name: up_tls_size
Review comment:
Done
##########
File path: include/nuttx/arch.h
##########
@@ -2398,6 +2398,40 @@ int up_rtc_getdatetime_with_subseconds(FAR struct tm
*tp, FAR long *nsec);
int up_rtc_settime(FAR const struct timespec *tp);
#endif
+/****************************************************************************
+ * Name: up_tls_size
+ *
+ * Description:
+ * Get tls (tdata + tbss) section size
+ *
+ * Returned Value:
+ * Size of (tdata + tbss)
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_SCHED_THREAD_LOCAL
+int up_tls_size(void);
Review comment:
Done
--
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]