Skip to contentSkip to conversation

I solved the problem of the shared memory cannot be allocated in the user space

Xenomai-core arethe.rtai 1 participant 1 message May 19, 2011

lore
Share & tools
lore
#0 lore raw

HI all:
I solved the problem of the shared memory cannot be allocated in the user space.
Because the shared memory space are allocated from the kheap, but the kheap is not a mapped heap, i.e. its pages are not reserved. I init the kheap by xnheap_init_mapped rather than xnheap_init. The problem is solved.
If there is a need, I can submit the patch to Xenomai.

Qin Chenggang

2011-05-19

arethe.rtai