From owner-p4-projects@FreeBSD.ORG Mon Jan 5 18:02:49 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7243216A4D1; Mon, 5 Jan 2004 18:02:49 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D3F916A4CE for ; Mon, 5 Jan 2004 18:02:49 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A36843D39 for ; Mon, 5 Jan 2004 18:02:48 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0622m0B024093 for ; Mon, 5 Jan 2004 18:02:48 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0622mH5024090 for perforce@freebsd.org; Mon, 5 Jan 2004 18:02:48 -0800 (PST) (envelope-from jmallett@freebsd.org) Date: Mon, 5 Jan 2004 18:02:48 -0800 (PST) Message-Id: <200401060202.i0622mH5024090@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 44833 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 02:02:49 -0000 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' : ' '); } }