summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-28 11:55:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-28 11:58:32 +0200
commit3ba43da922e92e76c159529acd6f868696923cb5 (patch)
tree756e64abfcd7b9ec865fd207332462600150ec85
parentscore: Move formatted I/O functions (diff)
downloadrtems-3ba43da922e92e76c159529acd6f868696923cb5.tar.bz2
score: Move <rtems/score/gcov.h>
Move <rtems/score/gcov.h> to <rtems/test-gcov.h>. These functions do not belong to an super core service.
-rw-r--r--cpukit/include/rtems/test-gcov.h (renamed from cpukit/include/rtems/score/gcov.h)14
-rw-r--r--cpukit/libtest/gcovdumpinfo.c (renamed from cpukit/score/src/gcovdumpinfo.c)4
-rw-r--r--cpukit/libtest/gcovdumpinfobase64.c (renamed from cpukit/score/src/gcovdumpinfobase64.c)4
-rw-r--r--cpukit/libtest/gcovinfoset.c (renamed from cpukit/score/src/gcovinfoset.c)4
-rw-r--r--cpukit/libtest/testgcovbspreset.c2
-rw-r--r--cpukit/libtest/testgcovcpufatalhalt.c2
-rw-r--r--cpukit/libtest/testgcovdumpinfo.c4
-rw-r--r--spec/build/cpukit/librtemscpu.yml4
-rw-r--r--spec/build/cpukit/librtemstest.yml4
9 files changed, 21 insertions, 21 deletions
diff --git a/cpukit/include/rtems/score/gcov.h b/cpukit/include/rtems/test-gcov.h
index ff8ad62a15..4c5bd44aab 100644
--- a/cpukit/include/rtems/score/gcov.h
+++ b/cpukit/include/rtems/test-gcov.h
@@ -3,10 +3,10 @@
/**
* @file
*
- * @ingroup RTEMSScoreGcov
+ * @ingroup RTEMSTestGcov
*
* @brief This header file provides the interfaces of the
- * @ref RTEMSScoreGcov.
+ * @ref RTEMSTestGcov.
*/
/*
@@ -34,8 +34,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _RTEMS_SCORE_GCOV_H
-#define _RTEMS_SCORE_GCOV_H
+#ifndef _RTEMS_TEST_GCOV_H
+#define _RTEMS_TEST_GCOV_H
#include <gcov.h>
@@ -47,9 +47,9 @@ extern "C" {
#endif /* __cplusplus */
/**
- * @defgroup RTEMSScoreGcov Gcov Support
+ * @defgroup RTEMSTestGcov Gcov Support
*
- * @ingroup RTEMSScore
+ * @ingroup RTEMSTest
*
* @brief This group contains the gocv support.
*
@@ -84,4 +84,4 @@ void _Gcov_Dump_info_base64( IO_Put_char put_char, void *arg );
}
#endif /* __cplusplus */
-#endif /* _RTEMS_SCORE_GCOV_H */
+#endif /* _RTEMS_TEST_GCOV_H */
diff --git a/cpukit/score/src/gcovdumpinfo.c b/cpukit/libtest/gcovdumpinfo.c
index be00df2db8..ad2cef4eae 100644
--- a/cpukit/score/src/gcovdumpinfo.c
+++ b/cpukit/libtest/gcovdumpinfo.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSScoreIO
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the implementation of _Gcov_Ddump_info().
*/
@@ -37,7 +37,7 @@
#include "config.h"
#endif
-#include <rtems/score/gcov.h>
+#include <rtems/test-gcov.h>
typedef struct {
IO_Put_char put_char;
diff --git a/cpukit/score/src/gcovdumpinfobase64.c b/cpukit/libtest/gcovdumpinfobase64.c
index b7a9849084..39b470fc55 100644
--- a/cpukit/score/src/gcovdumpinfobase64.c
+++ b/cpukit/libtest/gcovdumpinfobase64.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSScoreIO
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the implementation of
* _Gcov_Dump_info_base64().
@@ -38,7 +38,7 @@
#include "config.h"
#endif
-#include <rtems/score/gcov.h>
+#include <rtems/test-gcov.h>
#include <limits.h>
#include <string.h>
diff --git a/cpukit/score/src/gcovinfoset.c b/cpukit/libtest/gcovinfoset.c
index cb22e8252b..79114e4d67 100644
--- a/cpukit/score/src/gcovinfoset.c
+++ b/cpukit/libtest/gcovinfoset.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSScoreIO
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the definition of the gcov information
* linker set.
@@ -38,6 +38,6 @@
#include "config.h"
#endif
-#include <rtems/score/gcov.h>
+#include <rtems/test-gcov.h>
RTEMS_LINKER_ROSET( gcov_info, const struct gcov_info * );
diff --git a/cpukit/libtest/testgcovbspreset.c b/cpukit/libtest/testgcovbspreset.c
index 2b1e399bc4..f40102c944 100644
--- a/cpukit/libtest/testgcovbspreset.c
+++ b/cpukit/libtest/testgcovbspreset.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTest
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the implementation of a wrapper for
* bsp_reset() which dumps the gcov information using
diff --git a/cpukit/libtest/testgcovcpufatalhalt.c b/cpukit/libtest/testgcovcpufatalhalt.c
index 55a4c3ee40..9ac242885b 100644
--- a/cpukit/libtest/testgcovcpufatalhalt.c
+++ b/cpukit/libtest/testgcovcpufatalhalt.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTest
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the implementation of a wrapper for
* _CPU_Fatal_halt() which dumps the gcov information using
diff --git a/cpukit/libtest/testgcovdumpinfo.c b/cpukit/libtest/testgcovdumpinfo.c
index 68ce0439fa..c1d07275e7 100644
--- a/cpukit/libtest/testgcovdumpinfo.c
+++ b/cpukit/libtest/testgcovdumpinfo.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTest
+ * @ingroup RTEMSTestFrameworkImpl
*
* @brief This source file contains the implementation of
* rtems_test_gcov_dump_info().
@@ -40,7 +40,7 @@
#include <rtems/test-info.h>
-#include <rtems/score/gcov.h>
+#include <rtems/test-gcov.h>
#include <rtems/score/isrlock.h>
#include <rtems/bspIo.h>
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index 411058ff8e..ff4ac8e944 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -345,7 +345,6 @@ install:
- cpukit/include/rtems/score/coresemimpl.h
- cpukit/include/rtems/score/exception.h
- cpukit/include/rtems/score/freechain.h
- - cpukit/include/rtems/score/gcov.h
- cpukit/include/rtems/score/hash.h
- cpukit/include/rtems/score/heap.h
- cpukit/include/rtems/score/heapimpl.h
@@ -1412,9 +1411,6 @@ source:
- cpukit/score/src/debugunreachable.c
- cpukit/score/src/freechain.c
- cpukit/score/src/futex.c
-- cpukit/score/src/gcovdumpinfobase64.c
-- cpukit/score/src/gcovdumpinfo.c
-- cpukit/score/src/gcovinfoset.c
- cpukit/score/src/hash.c
- cpukit/score/src/heap.c
- cpukit/score/src/heapallocate.c
diff --git a/spec/build/cpukit/librtemstest.yml b/spec/build/cpukit/librtemstest.yml
index 4794312fa4..19b1066b27 100644
--- a/spec/build/cpukit/librtemstest.yml
+++ b/spec/build/cpukit/librtemstest.yml
@@ -12,10 +12,14 @@ install:
source:
- cpukit/include/rtems/test.h
- cpukit/include/rtems/test-info.h
+ - cpukit/include/rtems/test-gcov.h
- cpukit/include/rtems/test-scheduler.h
install-path: ${BSP_LIBDIR}
links: []
source:
+- cpukit/libtest/gcovdumpinfobase64.c
+- cpukit/libtest/gcovdumpinfo.c
+- cpukit/libtest/gcovinfoset.c
- cpukit/libtest/t-test-busy-tick.c
- cpukit/libtest/t-test-busy.c
- cpukit/libtest/t-test-checks-eno.c