[PATCH v2] linker set: Allow adding any variable into content

Chris Johns chrisj at rtems.org
Tue Aug 2 01:08:20 UTC 2016


On 02/08/2016 01:38, Gedare Bloom wrote:
> The code looks fine, but I don't quite understand the
> purpose/usefulness of the change.

I am wondering if this makes porting BSD user code to RTEMS easier by 
grouping variables.

I would like to see a doc ticket created to be completed once I branch 
the doc repo. If this is available for users and so an API we should 
document it.

> On Mon, Aug 1, 2016 at 7:16 AM, Christian Mauderer
> <christian.mauderer at embedded-brains.de> wrote:
>> From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
>>
>> The newly created macro allows to add any kind of variable into the

The newly created macro adds any kind of variable into a linker set. It 
allows (for example) the saving an execution state of a function using 
the following method:

This allows (for example) saving an execution
>> state of a function using the following method:
>>
>> - put a group of different variables into one linker set
>> - save the memory area containing the group of variables before the
>>    execution of a function
>> - restore the memory area after the function has been executed

Chris



More information about the devel mailing list