linux-mips
[Top] [All Lists]

Re: System Call in MIPS

To: chamak man <chamakmann@yahoo.co.in>
Subject: Re: System Call in MIPS
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 2 Jan 2003 12:05:28 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20030102035704.91069.qmail@web8204.mail.in.yahoo.com>; from chamakmann@yahoo.co.in on Thu, Jan 02, 2003 at 03:57:04AM +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030102035704.91069.qmail@web8204.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Thu, Jan 02, 2003 at 03:57:04AM +0000, chamak man wrote:

>    I am finding problems in adding a new system call
> for MIPS kernel.  Where can i get information on it. 

See include include/asm-mips/unistd.h and arch/mips/kernel/scall_o32.S.

In general adding new syscalls is considered a bad idea you may want to
look into using ioctl, sysctl(2) or procfs.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>