www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/01/05:59:23

Date: Thu, 1 Jul 1999 12:56:40 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: William Tanksley <wtanksle AT dolphin DOT openprojects DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Physical (device) memory question
In-Reply-To: <slrn7nhvtl.3d1.wtanksle@dolphin.openprojects.net>
Message-ID: <Pine.SUN.3.91.990701125613.12509A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 29 Jun 1999, William Tanksley wrote:

> I've got to write a test program for one of our PCI cards, and it includes
> about 16M of PCI-mapped memory.  I'm thinking that
> __djgpp_map_physical_memory would work nicely to make that memory easily
> accesible to me (is this right?).
> 
> How do I know what to pass as the first parameter, the void *our_addr?

This is covered in section 18.7 of the DJGPP FAQ list, which includes
a code example that sets this up.  If something in the FAQ is unclear,
or doesn't seem to work, please ask specific questions.

- Raw text -


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