From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <443D2A92.1000205@domain.hid> Date: Wed, 12 Apr 2006 12:28:02 -0400 From: Randy Smith MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Xenomai-help] Help with heap managment List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi everyone, Using the native skin, I have two heaps that I create in a kernel module using rt_heap_create. They are of type H_SHARED. I can see these in the /proc file system. When I cat these files I get... bash-2.05b# cat /proc/xenomai/registry/native/heaps/header type=shared:size=8192:used=8192 bash-2.05b# cat /proc/xenomai/registry/native/heaps/uframe type=shared:size=538624:used=536576 so I know they exist. Now, in my user space code, I am trying to use these shared memory segments by first calling rt_heap_bind to get the uniform descriptor to use in a subsequent rt_heap_alloc call, but the bind fails with an errorcode of -2 which doesn't map to the return codes listed in the documentation. Any clues? Am I using the correct calling sequence from user space? -Randy Smith Software Engineer ImageMap, Inc.