Received: by mail.netbsd.org (Postfix, from userid 605) id A9D2614A56C; Sat, 27 Aug 2011 16:54:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5D95914A564 for ; Sat, 27 Aug 2011 16:54:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id mcO95f9tqnYy for ; Sat, 27 Aug 2011 16:54:14 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id CAC2C14A488 for ; Sat, 27 Aug 2011 16:54:14 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id B0EF8175DD; Sat, 27 Aug 2011 16:54:14 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sat, 27 Aug 2011 16:54:14 +0000 From: "Manuel Bouyer" Subject: CVS commit: src/sys/arch/mips/mips To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110827165414.B0EF8175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Manuel Bouyer" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: bouyer Date: Sat Aug 27 16:54:14 UTC 2011 Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: There are non-writable bits in MIPS_COP_0_TLB_HI between ASID and VPN, so mips3_cp0_tlb_entry_hi_probe() returns a value with some 0 in the low 12 bits. Thus the computed mips_vm_maxuser_address is wrong. Fix by oring PAGE_MASK to return value of mips3_cp0_tlb_entry_hi_probe(). To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/arch/mips/mips/mips_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.