From: satoh AT asd DOT tnes DOT nec DOT co DOT jp Message-Id: <199711040117.KAA11803@asd.tnes.nec.co.jp> MIME-Version: 1.0 Date: Tue, 04 Nov 1997 10:11:33 +0900 To: djgpp AT delorie DOT com Subject: DMA transfer Precedence: bulk Hello all, I'm writing a NIC board driver using gcc compiler (DJGPP V2). I allocate memory on PC's memory using malloc() function and I have to set the physical address to register of the board. ( This board performs PCI bus master device.) But malloc() function returns virtual memory address, and I have no idea to translate malloc'ed virtual memory address into physical address. Does anyone know how to allocate DMAable large memory on PC and translate the virtual memory address into physiacal address. ---------------------------------------------------------- Masayuki Satoh NEC Software Tohoku, Ltd.