Re: Writing device drivers (ioctl issue)

2000-08-10 Thread Brian Somers
> I ran into this same problem when modifying the vmmon VMWare driver for > FreeBSD to support mulitple emulator instances. FreeBSD's VFS does not > have a concept of stateful file access: there are open's and close's, but > the VOP_READ/WRITE operations are not associated with sessions. This [.

Re: Writing device drivers (ioctl issue)

2000-07-27 Thread Robert Watson
On Wed, 26 Jul 2000, Isaac Waldron wrote: > I started working on a port of FreeMWare/plex86 (www.plex86.org) to FreeBSD > yesterday, and have run into a small problem. The basic idea is that I need > to write a kernel module that implements some ioctls for a new psuedo-device > that will eventua

Re: Writing device drivers (ioctl issue)

2000-07-26 Thread Warner Losh
In message <005301bff73b$bf8a3460$[EMAIL PROTECTED]> "Isaac Waldron" writes: : The issue I'm running into is with the function I'm writing to handle the : ioctls for the device. For one of the ioctls, the code needs to get some : data from the file descriptor that was passed to the original call

Writing device drivers (ioctl issue)

2000-07-26 Thread Isaac Waldron
I started working on a port of FreeMWare/plex86 (www.plex86.org) to FreeBSD yesterday, and have run into a small problem. The basic idea is that I need to write a kernel module that implements some ioctls for a new psuedo-device that will eventually reside at /dev/plex86. The issue I'm running i