summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-27 15:39:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-28 08:58:14 +0200
commita2684c2b8d4cd1336052cc541cce31cc342bae2e (patch)
tree0abeef7d522a53b558f7c453bfef4bbdacfc8eef /testsuites
parentrecord: Add data size to client (diff)
downloadrtems-a2684c2b8d4cd1336052cc541cce31cc342bae2e.tar.bz2
record: Use BSS section instead of per-CPU data
The .rtemsrwset section is used for the per-CPU data. This section has loadable content. Place the ring buffers in the BSS section to avoid large executable image sizes. Not using the per-CPU data makes it possible to initialize the record support earlier. Update #3665.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/record01/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/libtests/record01/init.c b/testsuites/libtests/record01/init.c
index 86255437f3..cb4cf451c9 100644
--- a/testsuites/libtests/record01/init.c
+++ b/testsuites/libtests/record01/init.c
@@ -59,7 +59,9 @@ typedef struct {
static test_context test_instance;
-const unsigned int _Record_Item_count = ITEM_COUNT;
+const Record_Configuration _Record_Configuration = {
+ .item_count = ITEM_COUNT
+};
#define UE(user) RTEMS_RECORD_USER(user)