Port-powerpc archive

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

Re: ktovp on oea



On Thu, 22 May 2008, Tim Rightnour wrote:

> oea_machdep.c defines kvtop as:
> 
> /*
>  * Convert kernel VA to physical address
>  */
> paddr_t
> kvtop(void *addr)
> 
> I am currently trying to convert powerpc to be able to deal with 64bit
> paddr_t's.  Shouldn't the argument to that function be vaddr_t?

Yeah, but you should really be deprecating kvtop() in favor or
pmap_extract().

Eduardo


Home | Main Index | Thread Index | Old Index