delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/09/04:20:45

Date: Wed, 9 Jul 1997 11:20:16 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Johan Karlsson <k AT sm DOT luth DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Disabling cache?
In-Reply-To: <33C2148E.3F54BC7E@sm.luth.se>
Message-ID: <Pine.SUN.3.91.970709111709.16266T-100000@is>
MIME-Version: 1.0

On Tue, 8 Jul 1997, Johan Karlsson wrote:

> I need to be able to turn the cache off for a specific memory area.
> The memory board I'm using is a bit special, when I write to a specific
> address I will affect all other addresses on the board. Therefor when I
> read from the board a value stored in cache will not be valid.

Did you actually see such problems?  AFAIK, the chipset on the 
motherboard is usually smart enough to automatically disable caching of 
addresses which are mapped to hardware devices.  So you shouldn't need 
to do anything to have the desired effect.

> Is there any way of turning the caching of for a specific address area?

Only in the CMOS setup of your machine, if your setup has such an option.

- Raw text -


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