kernels/linux-2.4.0/arch/ppc/mm/fault.c
/*
 * Search the hw hash table for a mapping to the given physical
 * address. -- Cort
 */
Search the hw hash table for a mapping to the given physical
address. -- Cort
Search the hw hash table for a mapping to the given physical address . -- Cort
unsigned long htab_phys_to_va(unsigned long address)
{
	extern PTE *Hash, *Hash_end;
	PTE *ptr;
	for ( ptr = Hash ; ptr < Hash_end ; ptr++ )
	{
		if ( ptr->rpn == (address>>12) )
			printk("phys %08lX -> va ???\n",
			       address);
	}
}
unsigned long htab_phys_to_va ( unsigned long address ) { extern PTE * Hash , * Hash_end ; PTE * ptr ; for ( ptr = Hash ; ptr < Hash_end ; ptr ++ ) { if ( ptr -> rpn == ( address >> 12 ) ) printk ( " \n " , address ) ; } }
Search the hw hash table for a mapping to the given physical
 address.
Search the hw hash table for a mapping to the given physical address .