Date: Mon, 5 Jan 2004 18:02:48 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 44833 for review Message-ID: <200401060202.i0622mH5024090@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=44833 Change 44833 by jmallett@jmallett_oingo on 2004/01/05 18:02:10 Reformat to something I mind less. Affected files ... .. //depot/projects/mips/sys/mips/mips/db_interface.c#12 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/db_interface.c#12 (text+ko) ==== @@ -290,19 +290,18 @@ lo[1] = mips_rd_entrylo1(); pm = mips_rd_pagemask(); - db_printf("TLB %c %2d Hi 0x%016lx ", - (lo[0] | lo[1]) & PG_V ? 'V' : '*', i, hi); - db_printf("Lo0=0x%016lx %c%c attr %lx ", - MIPS_PFN_TO_PA(lo[0]), + printf("=== TLB Entry %02d === ", i); + printf("(%svalid) ", (lo[0] | lo[1]) & PG_V ? " " : "in"); + printf("EntryHi=0x%016lx ", hi); + printf("PageMask=%#lx\n", pm); + if (*modif != 'a' && (((lo[0] | lo[1]) & PG_V) == 0)) + continue; + printf("\tEntryLo0 = 0x%016lx (%c%c)\n", lo[0], (lo[0] & PG_D) ? 'D' : ' ', - (lo[0] & PG_G) ? 'G' : ' ', - (lo[0] >> 3) & 7); - db_printf("Lo1=0x%016lx %c%c attr %lx ", - MIPS_PFN_TO_PA(lo[1]), + (lo[0] & PG_G) ? 'G' : ' '); + printf("\tEntryLo1 = 0x%016lx (%c%c)\n", lo[1], (lo[1] & PG_D) ? 'D' : ' ', - (lo[1] & PG_G) ? 'G' : ' ', - (lo[1] >> 3) & 7); - db_printf("sz=%#lx\n", pm); + (lo[1] & PG_G) ? 'G' : ' '); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401060202.i0622mH5024090>