From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by ozlabs.org (Postfix) with ESMTP id 62F16DDD0B for ; Wed, 30 Jan 2008 14:42:51 +1100 (EST) Received: by wx-out-0506.google.com with SMTP id h27so98812wxd.15 for ; Tue, 29 Jan 2008 19:42:49 -0800 (PST) Message-ID: <80bb1bc60801291942w7f1e3bb4g70142e78eadbce28@mail.gmail.com> Date: Wed, 30 Jan 2008 09:12:48 +0530 From: "Barisa Kisku" To: linuxppc-embedded@ozlabs.org Subject: which data structure keep IO information. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15320_29734066.1201664568710" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_15320_29734066.1201664568710 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have to port one customised layer 2 protocol stack and read, write system call to access devices in linux-2.4. At the moment this is ported in UNIX SVR2/4 operating system.this protocol uses some common data structure, i.e "user" in unix srv2/4, which keeps information such as u_error = return errorn code u_base = base address for I/O u_count = bytes remaining for I/O u_arg = argument to current system call etc. so i need to store these information in linux-2.4 implementation for implementing read/write system calls.so what is/are corresponding structure in linux-2.4.i went through task_struct, fs_struct, files_struct etc., but couldn't relate it properly. Please help me on this . thanks and regards, Barisa Kisku ------=_Part_15320_29734066.1201664568710 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
I have to port one customised layer 2 protocol stack and  read, write system call to access devices in linux-2.4.
At the moment  this is ported in UNIX SVR2/4 operating system.this protocol uses some common data structure,
i.e "user" in unix srv2/4, which keeps information such as
      u_error = return errorn code
      u_base = base address for I/O
     u_count = bytes remaining for I/O
     u_arg = argument to current system call etc.

so i need to store these information in linux-2.4 implementation for implementing read/write system calls.so what is/are
corresponding structure in linux-2.4.i went through task_struct, fs_struct, files_struct etc., but couldn't relate it properly.

Please help me on this .

thanks and regards,
Barisa Kisku




------=_Part_15320_29734066.1201664568710--