Subject: Re: cache flush
To: Emmanuel Dreyfus <>
From: Matt Thomas <>
List: port-powerpc
Date: 11/28/2003 17:49:55
On Nov 28, 2003, at 3:09 PM, Emmanuel Dreyfus wrote:

> Hello
> What is the prefered way to flush caches from C code in the kernel? Is
> there a routine to call in locore, or should I inline the necessary
> instructions in asm? (and what are the necessary instructions?)

Why do you want to do this?

> Other question: what is a cache sync operation? How is it different 
> from
> a flush?
Matt Thomas                     email:
3am Software Foundry              www:
Cupertino, CA              disclaimer: I avow all knowledge of this