delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/18/06:31:22

From: "Peter S'heeren" <petersh AT pimc DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Addressing physical memory
Date: Thu, 18 Mar 1999 11:47:49 +0100
Organization: EUnet Belgium, Leuven, Belgium
Lines: 19
Message-ID: <36F0D9D5.FA7B554A@pimc.be>
NNTP-Posting-Host: 193.74.115.160
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi

I have a problem with accessing physical memory. I wanna do this: (1)
allocate some physical memory pages (address isn't important, pages may
be continguous), (2) determine their physical address, (3) pass these
addresses to a bus-master capable PCI card that tries to read data from
these addresses (experimental hardware).

The precise address of the pages isn't important because the PCI card
can access the entire 4GB physical memory space. The pages should be
mapped in linear memory space and their contents should not be swapped
away.

Has someone faced this problem before and found a solution for it ?

Peter S'heeren


- Raw text -


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