From owner-cvs-src-old@FreeBSD.ORG Wed Mar 18 23:25:25 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60B48106576E for ; Wed, 18 Mar 2009 23:25:25 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4BBDE8FC0A for ; Wed, 18 Mar 2009 23:25:25 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2INPP4i039330 for ; Wed, 18 Mar 2009 23:25:25 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2INPPWr039329 for cvs-src-old@freebsd.org; Wed, 18 Mar 2009 23:25:25 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200903182325.n2INPPWr039329@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Wed, 18 Mar 2009 23:25:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/boot/sparc64/loader locore.S main.c src/sys/sparc64/include tte.h src/sys/sun4v/include tte.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 23:25:25 -0000 marius 2009-03-18 23:25:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/sparc64/loader locore.S main.c sys/sparc64/include tte.h sys/sun4v/include tte.h Log: SVN rev 190000 on 2009-03-18 23:25:12Z by marius MFC: r181398 - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's no particular reason for them to be implemented in assembler and having them in C allows easier extension as well as using more C macros and {d,i}tlb_slot_max rather than hard-coding magic (and actually spitfire-only) values. - Fix the compilation of pmap_print_tte(). - Change pmap_print_tlb() to use ldxa() rather than re-rolling it inline as well as TLB_DAR_SLOT and {d,i}tlb_slot_max rather than hardcoding magic (and actually spitfire-only) values. - While at it, suffix the above mentioned functions with "_sun4u" to underline they're architecture-specific. - Use __FBSDID and macros instead of magic values in locore.S. - Remove unused includes and smp_stack in locore.S. Revision Changes Path 1.7.10.1 +11 -82 src/sys/boot/sparc64/loader/locore.S 1.32.2.3 +97 -39 src/sys/boot/sparc64/loader/main.c 1.16.22.1 +5 -1 src/sys/sparc64/include/tte.h 1.2.2.1 +4 -0 src/sys/sun4v/include/tte.h