From: "Arne Henrichsen" <ahenric@yahoo.com>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sys_sem* undefined
Date: Fri, 27 Aug 2004 10:26:05 +0100 (BST) [thread overview]
Message-ID: <20040827092605.63433.qmail@web41504.mail.yahoo.com> (raw)
In-Reply-To: <20040826092825.0fc2eeb9.rddunlap@osdl.org>
> From an application (userspace) or from inside the
> kernel?
I need to do the syscalls from kernel space. Basically
I am porting our custom vxWorks driver to Linux. We
want to basically keep the structure of the vxWorks
driver the same, so I am porting the individual
vxWorks functions such as semBcreate, semGive etc.
Thats why I want to use the SysV IPC semaphores, as
they seem to most closely resemble the vxWorks ones. I
know that there are much better ways of writing a
driver, but that wouldn't fit in with the currect
structure we have at the moment.
Now if I want to call lets say sys_semget() from
kernel space, must I use the _syscall3() function? I
saw some people using this.
Thanks for the help.
Arne
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
next prev parent reply other threads:[~2004-08-27 9:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 11:50 Arne Henrichsen
2004-08-25 16:14 ` Randy.Dunlap
2004-08-26 9:05 ` Arne Henrichsen
2004-08-26 14:08 ` Paulo Marques
2004-08-26 13:44 ` Arne Henrichsen
2004-08-26 16:28 ` Randy.Dunlap
2004-08-27 9:26 ` Arne Henrichsen [this message]
2004-09-05 3:51 ` Pete
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=20040827092605.63433.qmail@web41504.mail.yahoo.com \
--to=ahenric@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.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
all inboxes | Powered by JetHome®