* Lost in Shared Memory with Module
@ 2000-05-27 12:21 Alain Birtz
0 siblings, 0 replies; only message in thread
From: Alain Birtz @ 2000-05-27 12:21 UTC (permalink / raw)
To: linuxppc-dev
My first try to use shared memory inside a module show many conflict
within header /sys/shm.h
So I changed the header for /linux/shm.h. But the shared memory function
has a sys_ prefix:
shmat is changed for sys_shmat. Unfortunatly there is a problem here:
the sys_shmat need a fourth parameter.
---> asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg,
unsigned long *addr);
and there is not man page about sys_shmat that explain the usage of the
addr parameter.
Is it the right way to share memory between module and application ?
Where can I found example of it ?
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-27 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-27 12:21 Lost in Shared Memory with Module Alain Birtz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).