Subject: Re: Physical to virtual address translate answer
To: jose javier clemente martin <jclementemartin@hotmail.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 03/22/2000 21:37:32
I don't know Windows but if you want to write your driver for NetBSD
I'll help you :) It would work on more machines and I suspect it would be
easier too :)

On Tue, Mar 21, 2000 at 09:41:58AM +0000, jose javier clemente martin wrote:
> I´m working with Builder C++ environment (WINDOWS 98)
> To use the DMA feature of the PCI card I have to set its "pointer register" 
> to an address in physical memory.
> When using 'malloc' I get a pointer to a virtual address. How do I convert 
> this virtual or logical address to a physical address?
> Don´t forget that I´m working in WINDOWS 95.
> I´ve get information like the scheme of the GDT and LDT tables but I want 
> some
> c++ builder or assembler 32 example code
> 
> Please send me your solution to
>      jclementemartin@hotmail.com
> 
> It´s very important for me.
> 
> 	Thank you very much
> 
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
--
Manuel Bouyer <bouyer@antioche.eu.org>
     {Net,Free}BSD: 22 ans d'experience feront toujours la difference
--