delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Thu, 21 Feb 2002 19:17:49 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Andrew Fairburn <a DOT j DOT fairburn AT durham DOT ac DOT uk> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Allocating memory.... |
In-Reply-To: | <a531ko$od$1@sirius.dur.ac.uk> |
Message-ID: | <Pine.SUN.3.91.1020221191629.2950H-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, 21 Feb 2002, Andrew Fairburn wrote: > ive been trying to allocate a piece of memory so that both teh host itself > and a pci device reading straight from memory can acces it. Obviously its > not to hard to do this from the host point of view, but i need the real > address of the memory segment and offsets, not virtual, to access it via teh > pci device. Does the info in section 18.13 of the DJGPP FAQ help? It talks about DMA, but DMA also requires the physical address, so perhaps you will be able to use the advice there for your purposes.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |