Hi,

I am using ColdFire MCF5329EVB and uClinux (2.6.17 kernel, uClibc
0.9.27).

I am trying to use shared memory IPC in my application. I enabled SYS V
IPC when I configured uClinux kernel. I tried semaphore and message
queue. They seem to be working. I added shared memory in my application:

#include <sys/shm.h>
Key_t MY_SHM_ID;
shmid = shmget ( MY_SHM_ID, 1024, (IP_CREAT | 0666) );

The compilation was OK. However, when I downloaded to my board, the
shared memory creation always failed. shmid was always -1.

Some people said MCF5329 doesn't have MMU so that it doesn't support
shared memory IPC. Other people said shared memory IPC can be used even
without MMU.

Anybody here can verify if MCF5329 without MMU can use shared memory
IPC?

Thanks in advance,

Allen





The information contained in this email and attachments to this email are the 
proprietary and confidential property 
of Nucomm, Inc.  The information is provided in strict confidence and shall not 
be reproduced, copied, or
used (partially or wholly) in any manner without prior, express written 
authorization of Nucomm, Inc.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to