delorie.com/archives/browse.cgi | search |
X-Originating-Host: | 192.83.249.51 |
Organization: | http://www.remarq.com: The World's Usenet/Discussions Start Here |
Subject: | Re: DJGPP and Mapping physical memory from a PCI device |
Lines: | 18 |
From: | Ali <ali_hireyNOalSPAM AT yahoo DOT com DOT invalid> |
Newsgroups: | comp.os.msdos.djgpp |
Message-ID: | <0267080a.1f42dce3@usw-ex0102-084.remarq.com> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000613133915 DOT 16888Z-100000 AT is> <MPG DOT 13b1821f161f6e6c98969c AT news DOT cyberway DOT com DOT sg> |
Bytes: | 460 |
X-Wren-Trace: | eDofNzYvaCJpeyI7AHIyIS0wCiY+NnUjcTU6NHN/eih7ZCl1Zi52emNq |
Date: | Thu, 22 Jun 2000 18:56:58 -0700 |
NNTP-Posting-Host: | 10.0.2.84 |
X-Complaints-To: | wrenabuse AT remarq DOT com |
X-Trace: | WReNphoon3 961726199 10.0.2.84 (Thu, 22 Jun 2000 19:09:59 PDT) |
NNTP-Posting-Date: | Thu, 22 Jun 2000 19:09:59 PDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi I am wondering what is the use of the Selector here. If I want to access the mapped physical memory, couldn't I just use mapMemory(PciBase,sizeof(REGISTERS),&Selector,&Adapter); /* and then just */ Adapter=0; /*would set the first memory location */ BTW, when I try this I get a segmentation error. Thanks in advance for the help. Got questions? Get answers over the phone at Keen.com. Up to 100 minutes free! http://www.keen.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |