linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Hrebien <m_hrebien@wp.pl>
To: linux-assembly@vger.kernel.org
Subject: Re: Info for System Call Implementation.
Date: Mon, 08 Sep 2003 12:19:25 +0200	[thread overview]
Message-ID: <3F5C57AC.2C7907F1@wp.pl> (raw)
In-Reply-To: 8EA11405E59BD611BA7100104B93C2600208D99A@exdel01.del.mgsl.com

Harmeet Uppal wrote:
> 
> Hi All,
> 
> I am interested in writing my own system call  for Linux. I had read
> somewhere this is possible. can this be implemented via a module program or
> I would need to recompile the complete kernel for this ( this would be
> certainly be possible). What is the -syscall3 thing?

There is a short description in khg how to add your own syscall, it's in
syscall86.html file. _syscall3 is a macro for doing int $0x80 with 3
args, see asm/unistd.h.

-- 
Maciej Hrebien


      reply	other threads:[~2003-09-08 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-08  3:15 Info for System Call Implementation Harmeet Uppal
2003-09-08 10:19 ` Maciej Hrebien [this message]

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=3F5C57AC.2C7907F1@wp.pl \
    --to=m_hrebien@wp.pl \
    --cc=linux-assembly@vger.kernel.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).