Date: Fri, 30 Aug 2002 14:42:02 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: "Balaji, Pavan" <pavan.balaji@intel.com> Cc: "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: RE: Copying from Virtual Address Space to Physical Address Message-ID: <Pine.BSF.4.21.0208301438000.4649-100000@InterJet.elischer.org> In-Reply-To: <3D386AED1B47D411A94300508B11F18704AD69D5@fmsmsx116.fm.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Aug 2002, Balaji, Pavan wrote: > > Thanx. It's nearly done. I just need to know two more small things. > > physio() requires a dev_t as a parameter. What do I give in over here? I > can't give NULL, cause it does use it for some stuff in the function > definition. I wasn't suggesting that you use physio() but that you use it and it's friend as a prototype for yourself when you write a function to do what you want. The dev_t is associated with the device this is doing IO from so it's not necessarily relelvant to you. you haven't told us enough about what you want to do to allow us to really understand your problem. > > Also, the only other parameters to physio() are the uio and the ioflag > (which is not used at all). So, where is the kernel virtual address mapping? > Do I have to do something this this dev_t thing to open a virtual device > which maps to the kernel virtual address. If yes, how do I do this? > > Thanx. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208301438000.4649-100000>