Quoting Philippe Gerum <[email protected]>:

> On Mon, 2009-12-07 at 14:43 +0100, Gilles Chanteperdrix wrote:
>> Jan Kiszka wrote:
>> > Philippe Gerum wrote:
>> >> On Thu, 2009-12-03 at 22:42 +0100, Gilles Chanteperdrix wrote:
>> >>> Wolfgang Mauerer wrote:
>> >>>> Gilles Chanteperdrix wrote:
>> >>>>> Wolfgang Mauerer wrote:

>> We define a structure which will be shared between kernel and user,
>> which contains all data exported by kernel to user, as well as flags
>> indicating which member of the structure is available. The definition of
>> the struct for 2.5.0 will be:
>>
>> struct xnshared  {
>>      unsigned long long features;
>> };
>>
>> This struct will be allocated in the global sem heap, and features will
>> be null for the time being.
>>
>> Every time we need to share some data between kernel and user (including
>> for the ntp support), we will add data to the structure, and use a
>> "features" bit to mean that the data are available from kernel. It will
>> work as long as we add data from release to release and never remove it.
>>
>> So, for 2.5.0, the xnshared structure will be allocated, but the
>> features member will be null. We will pass the offset of this structure
>> in the global sem heap in the sysinfo structure.
>>
>
> Go for this. Ack.

That's also fine for me.

Best, Wolfgang

_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core

Reply via email to