delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/09/22:18:57

From: Prashant TR <prashant_tr AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and Mapping physical memory from a PCI device
Date: 10 Jun 2000 06:48:12 +0530
Organization: VSNL
Lines: 10
Message-ID: <m3r9a6mizv.fsf@vsnl.net.in>
References: <39417171_1 AT news DOT siscom DOT net>
NNTP-Posting-Host: ppp-181-79.bng.vsnl.net.in
X-Trace: news.vsnl.net.in 960637817 25843 203.197.181.79 (10 Jun 2000 11:50:17 GMT)
X-Complaints-To: postmaster AT news DOT vsnl DOT net DOT in
NNTP-Posting-Date: 10 Jun 2000 11:50:17 GMT
X-Newsreader: Gnus v5.7/Emacs 20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Chris Fought" <cfought AT siscom DOT net> writes:

>      I work for an engineering firm and we have a shared memory product that
> requires that we be able to map physical memory from a PCI device so that it
> can be accessed by user applications. I was wondering if anyone could tell
> me of a location of some sample programs that demostrate memory mapping with
> DJGPP DPMI calls....Thanks for any help in advance.........

You could use the __djgpp_map_physical_memory call. Type "info libc a
_djgpp_map_physical" for more info. It is simple and self-explanatory.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019