From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dave B. Sharp" Subject: Re: physical memory for user space application Date: Wed, 16 Nov 2005 10:17:18 -0500 (EST) Message-ID: <20051116151719.84410.qmail@web32912.mail.mud.yahoo.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: "P.Manohar" Cc: Linux Newbie Hi Manohar, Thanx, much apreciated. Which driver do I send the ioctl to? Is it possible to pin down the memory in question or is that done implicitly? I know in Windoze this can be done. Cheers Dave --- "P.Manohar" wrote: > > you can use ioctls for tranfering data from user > space to kernel space > > regards > Manohar. > > On Tue, 15 Nov 2005, Dave B. Sharp wrote: > > > > > Hi There, > > > > I want to access the physical memory associated > > with a user space application. > > From my driver I would like to: > > - Lock down a range of memory (ensure that it > is > > not paged out) > > - Get a mapping of the corrosponding phyiscal > > memory i.e. I would like to be able to read the > > physical memory directly. > > - I don't want to use the proc file system. > > Can anyone tell me what the fucntions and / or > > data structures are to acomplish this? > > Cheers > > Dave Sharp > > > > > > > > > > > > > > > > > > > __________________________________________________________ > > Find your next car at http://autos.yahoo.ca > > - > > To unsubscribe from this list: send the line > "unsubscribe linux-newbie" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at > http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at > http://www.linux-learn.org/faqs > > > __________________________________________________________ Find your next car at http://autos.yahoo.ca - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs