Subject: Re: pmap_syncicache question
To: Matt Thomas <matt@3am-software.com>
From: Ramesh BN <bnramesh@yahoo.com>
List: port-powerpc
Date: 09/23/2003 13:01:04
Matt,

Thanks for the reply. Actually i was looking
at the function in 1.5.x and 1.4.x where the 
MMU is not disabled.Is there a 1:1 translation 
maintained in Netbsd 1.4.x and 1.5.x for 
managed physical memory for every mmu context ?

Thanks,

Ramesh

--- Matt Thomas <matt@3am-software.com> wrote:
> At 12:02 PM 9/23/2003, Ramesh BN wrote:
> >Hi,
> >
> >pmap_syncicache() take in a "physical" address and
> >tries
> >to flush the data cache and invalidate the
> instruction
> >cache using the instructions "dcbst" and "icbi".
> >
> >The description of "dcbst" says it needs a EA, and
> >translation and protection will be checked. How is
> >this supposed to work if we use a "pa" instead of
> >a "va"
> 
> instruction and data relocation are disabled during
> the synchronization.  (previously it relied on the
> fact that BATs are used as a very small TLB so all
> physical memory could be accessed by swapping BAT
> entries).
> 
> 
> -- 
> 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.
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com