kernels/linux-2.4.0/arch/ppc/mm/fault.c
/*
 * Misc debugging functions.  Please leave them here. -- Cort
 */
Misc debugging functions.  Please leave them here. -- Cort
Misc debugging functions . Please leave them here . -- Cort
void print_pte(struct _PTE p)
{
	printk(
"%08x %08x vsid: %06x h: %01x api: %02x rpn: %05x rcwimg: %d%d%d%d%d%d pp: %02x\n",
		*((unsigned long *)(&p)), *((long *)&p+1),
		p.vsid, p.h, p.api, p.rpn,
		p.r,p.c,p.w,p.i,p.m,p.g,p.pp);
}
void print_pte ( struct _PTE p ) { printk ( " \n " , * ( ( unsigned long * ) ( & p ) ) , * ( ( long * ) & p + 1 ) , p . vsid , p . h , p . api , p . rpn , p . r , p . c , p . w , p . i , p . m , p . g , p . pp ) ; }
Misc debugging functions.
Misc debugging functions .