From owner-cvs-src-old@FreeBSD.ORG Sat Jan 1 00:20:39 2011 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 006A31065697 for ; Sat, 1 Jan 2011 00:20:39 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E337B8FC1E for ; Sat, 1 Jan 2011 00:20:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p010KcqC093908 for ; Sat, 1 Jan 2011 00:20:38 GMT (envelope-from jmallett@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p010KcGk093907 for cvs-src-old@freebsd.org; Sat, 1 Jan 2011 00:20:38 GMT (envelope-from jmallett@repoman.freebsd.org) Message-Id: <201101010020.p010KcGk093907@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jmallett@repoman.freebsd.org using -f From: Juli Mallett Date: Sat, 1 Jan 2011 00:20:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/mips machdep.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: Sat, 01 Jan 2011 00:20:39 -0000 jmallett 2011-01-01 00:20:14 UTC FreeBSD src repository Modified files: sys/mips/mips machdep.c Log: SVN rev 216862 on 2011-01-01 00:20:14Z by jmallett o) When trying to determine whether the pcpu pointer is a managed address, check not just that it is greater than the minimal kernel virtual address, but also that it is less than the maximal kernel virtual address. On n64 kernels, the pcpup comes out of a direct-mapped address that, with an unsigned compare, is rather greater than the minimal kernel virtual address. o) Turn the panic if interrupts are disabled in cpu_idle into a KASSERT since on other architectures it's behind INVARIANTS anyway. o) Add a check that not all interrupts are masked, too. o) Add cpu_idleclock() and cpu_activeclock() use to cpu_idle as is done on other architectures. Revision Changes Path 1.38 +17 -5 src/sys/mips/mips/machdep.c