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

Christian Mauderer christian.mauderer at embedded-brains.de
Tue Aug 2 06:38:50 UTC 2016


Am 02.08.2016 um 03:08 schrieb Chris Johns:
> 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

Hello Gedare, Hello Chris,

Chris is right with the assumption. I used the macros for porting pfctl
(control tool for the PF firewall) to libbsd. The pfctl changes should
be ready soon.

I created a ticket for the missing documentation here:

https://devel.rtems.org/ticket/2770

Kind regards,

Christian
-- 
--------------------------------------------
embedded brains GmbH
Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list