All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] binding to memory heap from user space
@ 2006-02-20 10:55 Cedric Herreman
  2006-02-20 13:00 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Herreman @ 2006-02-20 10:55 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

Hello,
 
 I have created a memory heap in the init_module routine of a kernel module : 
 rt_heap_create(&heap_data,"RT_LOG_HEAP",sizeof(ttv_log_data),H_FIFO|H_SHARED);
 and 
 rt_heap_alloc(&heap_data,0,TM_NONBLOCK,&loc_ptr);
 Both calls return succesful.
 
 When i try to bind to this memory in an user space application :
 rt_heap_bind(&rt_heap,"RT_LOG_HEAP",TM_NONBLOCK);
 the call returns with error -2, this error does not seem to be documented (i test on all the constants defined in the html API docs, xenomai v2.0).
 
 Can anyone give me a hint on what's wrong here ?
 
 Cedric.
 
			
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

[-- Attachment #2: Type: text/html, Size: 838 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-20 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 10:55 [Xenomai-help] binding to memory heap from user space Cedric Herreman
2006-02-20 13:00 ` Gilles Chanteperdrix
2006-02-20 14:56   ` Cedric Herreman
2006-02-20 19:21     ` Philippe Gerum

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.