Gilles Chanteperdrix wrote:
> wolfgang.maue...@siemens.com wrote:
>> +/*
>> + * We re-use the global semaphore heap to provide a multi-purpose shared
>> + * memory area between Xenomai and Linux - for both kernel and userland
>> + */
>> +void __init xnheap_init_shared(void)
>> +{
>> +    xnshared = (struct xnshared *)xnheap_alloc(&__xnsys_global_ppd.sem_heap,
>> +                                              sizeof(struct xnshared));

Also:

Xenomai style: s/sizeof(struct xnshared)/sizeof(*xnshared)/

-- 
                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to