public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Using _syscall3 to manipulate files in a driver
@ 2006-12-31 17:13 Jon Smirl
  2007-01-01 14:20 ` bert hubert
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jon Smirl @ 2006-12-31 17:13 UTC (permalink / raw)
  To: lkml

I have the source code for a vendor written driver that is targeted at
2.6.9. It includes this and then proceeds to manipulate files from the
driver.

asmlinkage _syscall3(int,write,int,fd,const char *,buf,off_t,count)
asmlinkage _syscall3(int,read,int,fd,char *,buf,off_t,count)
asmlinkage _syscall3(int,open,const char *,file,int,flag,int,mode)
asmlinkage _syscall1(int,close,int,fd)

What is the simplest way to get open/close/read/write working under
2.6.20-rc2? I know this is horrible and shouldn't be done, I just want
to get the driver working long enough to see if it is worth saving.
I'm on x86.

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-01 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-31 17:13 Using _syscall3 to manipulate files in a driver Jon Smirl
2007-01-01 14:20 ` bert hubert
2007-01-01 14:59 ` Paul Mundt
2007-01-01 15:39   ` Jon Smirl
2007-01-01 23:25 ` Daniel Drake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox