All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: wolfgang.mauerer@domain.hid
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] Add support for sharing kernel/userland data	between Xenomai and Linux
Date: Tue, 22 Dec 2009 12:49:05 +0100	[thread overview]
Message-ID: <4B30B231.3080705@domain.hid> (raw)
In-Reply-To: <4B30958D.6060108@domain.hid>

Gilles Chanteperdrix wrote:
> wolfgang.mauerer@domain.hid 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.


  reply	other threads:[~2009-12-22 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 16:01 [Xenomai-core] [PATCH] Add support for sharing kernel/userland data between Xenomai and Linux wolfgang.mauerer
2009-12-22  9:46 ` Gilles Chanteperdrix
2009-12-22 11:49   ` Gilles Chanteperdrix [this message]
2009-12-22 12:00   ` Wolfgang Mauerer
2009-12-22 12:22     ` Gilles Chanteperdrix
2009-12-22 13:12       ` Wolfgang Mauerer
2009-12-22 13:22         ` Gilles Chanteperdrix
2009-12-22 14:10           ` Wolfgang Mauerer
2009-12-22 15:08             ` Gilles Chanteperdrix
2009-12-22 15:38               ` Wolfgang Mauerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B30B231.3080705@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=wolfgang.mauerer@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.