Subject: Re: cache flush
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
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: matt@3am-software.com
3am Software Foundry www: http://3am-software.com/bio/matt/
Cupertino, CA disclaimer: I avow all knowledge of this
message.