From owner-svn-src-all@FreeBSD.ORG Fri Apr 30 17:12:20 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF45E1065670; Fri, 30 Apr 2010 17:12:20 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [69.147.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id AFE7B8FC16; Fri, 30 Apr 2010 17:12:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3UHCK9m028287; Fri, 30 Apr 2010 17:12:20 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3UHCKvd028285; Fri, 30 Apr 2010 17:12:20 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <201004301712.o3UHCKvd028285@svn.freebsd.org> From: Randall Stewart Date: Fri, 30 Apr 2010 17:12:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207441 - head/sys/mips/mips X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 17:12:20 -0000 Author: rrs Date: Fri Apr 30 17:12:20 2010 New Revision: 207441 URL: http://svn.freebsd.org/changeset/base/207441 Log: Bug in the memory mapping module. The wrong physaddr was being used in the macro (1 should be used not 2)... Obtained from: JC Modified: head/sys/mips/mips/pmap.c Modified: head/sys/mips/mips/pmap.c ============================================================================== --- head/sys/mips/mips/pmap.c Fri Apr 30 17:08:27 2010 (r207440) +++ head/sys/mips/mips/pmap.c Fri Apr 30 17:12:20 2010 (r207441) @@ -236,7 +236,7 @@ caddr_t virtual_sys_start = (caddr_t)0; sched_pin(); \ va1 = sysm->base; \ va2 = sysm->base + PAGE_SIZE; \ - npte = mips_paddr_to_tlbpfn(phys2) | \ + npte = mips_paddr_to_tlbpfn(phys1) | \ PTE_RW | PTE_V | PTE_G | PTE_W | PTE_CACHE; \ pte = pmap_pte(kernel_pmap, va1); \ *pte = npte; \