From: Alain Birtz <abz@videotron.ca>
To: linuxppc-dev@lists.linuxppc.org
Subject: Lost in Shared Memory with Module
Date: Sat, 27 May 2000 08:21:40 -0400 [thread overview]
Message-ID: <392FBDD5.7E672FBD@videotron.ca> (raw)
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/
reply other threads:[~2000-05-27 12:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=392FBDD5.7E672FBD@videotron.ca \
--to=abz@videotron.ca \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).