Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_syncicache question



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@localhost> 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@localhost
> 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



Home | Main Index | Thread Index | Old Index