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/04/15 15:43:55 UTC

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6080: arch/ostest: remove CONFIG_TESTING_OSTEST_FPUSIZE & board level implement

anchao commented on code in PR #6080:
URL: https://github.com/apache/incubator-nuttx/pull/6080#discussion_r851340807


##########
include/nuttx/arch.h:
##########
@@ -2563,6 +2563,16 @@ uint32_t up_perf_gettime(void);
 uint32_t up_perf_getfreq(void);
 void up_perf_convert(uint32_t elapsed, FAR struct timespec *ts);
 
+/****************************************************************************
+ * Name: up_getcontext

Review Comment:
   Done



##########
include/nuttx/arch.h:
##########
@@ -2563,6 +2563,16 @@ uint32_t up_perf_gettime(void);
 uint32_t up_perf_getfreq(void);
 void up_perf_convert(uint32_t elapsed, FAR struct timespec *ts);
 
+/****************************************************************************
+ * Name: up_getcontext
+ *
+ * Description:
+ *   Save the current thread context
+ *
+ ****************************************************************************/
+
+int up_saveusercontext(uint32_t *saveregs);

Review Comment:
   Done



##########
include/nuttx/arch.h:
##########
@@ -2573,6 +2573,20 @@ void up_perf_convert(uint32_t elapsed, FAR struct timespec *ts);
 
 int up_saveusercontext(uint32_t *saveregs);
 
+/****************************************************************************
+ * Name: up_fpucmp
+ *
+ * Description:
+ *   compare FPU areas from thread context
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_ARCH_FPU
+bool up_fpucmp(FAR const uint32_t *saveregs1, FAR const uint32_t *saveregs2);

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

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