From: "Chris Fought" Newsgroups: comp.os.msdos.djgpp Subject: __djgpp_map_physical_memory () isn't working help!!! Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 12 Jun 2000 17:03:55 -0400 NNTP-Posting-Host: 198.30.206.47 X-Trace: newsfeed.slurp.net 960843274 198.30.206.47 (Mon, 12 Jun 2000 15:54:34 CDT) NNTP-Posting-Date: Mon, 12 Jun 2000 15:54:34 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com O.K., I tried using __djgpp_map_physical_memory and it isn't working for me. I am still trying to map in physical memory from a PCI device so that I can grant user level acess to it. I checked info for this function and this is what I find: int __djgpp_map_physical_memory(void *our_addr, unsigned long num_bytes, unsigned long phys_addr); The PCI card that I am trying to map has 8 megs of RAM and it located at 0x41000000. So I have tried doing the following: __djgpp_map_physical_memory ( 0x800000, 41000000); I know that this is missing the *our_addr argument, but I have tried placing different values here without any luck (can someone please tell me what the 'our_addr parameter is for (pleaseeeeeeee)). Are there one or more other functions that I have to call to set up page tables??...can anyone help....huge thanks in advance. Chris Fought