Subject: Re: more on cache ops... What are they actually supposed to do?
To: Chris G. Demetriou <cgd@sibyte.com>
From: Jeff Smith <jeffs@geocast.com>
List: port-mips
Date: 06/20/2000 00:33:20
Jeff Smith wrote:
> >         MachFlushDCache: flushes the given virtual(?)
> >         [address,address+size] range from any (primary, secondary,
> >         tertiary) d-cache.

I steped out and thought about this call a bit more.  I think
this is acurately describes how it's used now.

The address really refers to the index in the cache to flush.  The
QED code I worked on that is now part of the Cobalt port takes
this value, extracts the index and uses this with KSEG0 to do
the cache ops.

So the definition would be: flushes the cache for all indicies
corresponding to the given virtual address range from any
(primary, seondary, tertiary) d-cache.

jeffs