From owner-cvs-src-old@FreeBSD.ORG Tue Mar 30 20:05:51 2010 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 62251106566B for ; Tue, 30 Mar 2010 20:05:51 +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 511018FC14 for ; Tue, 30 Mar 2010 20:05:51 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2UK5ppG010379 for ; Tue, 30 Mar 2010 20:05:51 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2UK5p1U010378 for cvs-src-old@freebsd.org; Tue, 30 Mar 2010 20:05:51 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201003302005.o2UK5p1U010378@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Tue, 30 Mar 2010 20:05:22 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/boot/sparc64/loader main.c 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: Tue, 30 Mar 2010 20:05:51 -0000 marius 2010-03-30 20:05:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/sparc64/loader main.c Log: SVN rev 205923 on 2010-03-30 20:05:22Z by marius MFC: r203830, r203831 Use the SUNW,{d,i}tlb-load methods for entering locked TLB entries like OpenBSD and OpenSolaris do instead of fiddling with the MMUs ourselves. Unlike direct access the firmware methods don't automatically use the next free (?) TLB slot, instead the slot to be used has to be specified. We allocate the TLB slots for the kernel top-down as OpenSolaris suggests that the firmware will always allocate the ones for its own use bottom-up. Besides being simpler, according to OpenBSD using the firmware methods is required to allow booting on Sun Fire E10K with multi-systemboard domains. Revision Changes Path 1.32.2.11 +26 -48 src/sys/boot/sparc64/loader/main.c