diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-27 15:39:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-28 08:58:14 +0200 |
commit | a2684c2b8d4cd1336052cc541cce31cc342bae2e (patch) | |
tree | 0abeef7d522a53b558f7c453bfef4bbdacfc8eef /testsuites/libtests | |
parent | record: Add data size to client (diff) | |
download | rtems-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/libtests')
-rw-r--r-- | testsuites/libtests/record01/init.c | 4 |
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) |