From owner-cvs-all@FreeBSD.ORG Mon Feb 14 18:16:35 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A849716A4CE; Mon, 14 Feb 2005 18:16:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AEAE43D1F; Mon, 14 Feb 2005 18:16:35 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1EIGZ98034006; Mon, 14 Feb 2005 18:16:35 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1EIGZLN034005; Mon, 14 Feb 2005 18:16:35 GMT (envelope-from njl) Message-Id: <200502141816.j1EIGZLN034005@repoman.freebsd.org> From: Nate Lawson Date: Mon, 14 Feb 2005 18:16:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_cpu.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 18:16:35 -0000 njl 2005-02-14 18:16:35 UTC FreeBSD src repository Modified files: sys/kern kern_cpu.c Log: Implement priorities. This allows a driver (say, for cooling purposes) to override the current freq level temporarily and restore it when the higher priority condition is past. Note that only the first overridden value is saved. Callers pass NULL to CPUFREQ_SET to restore the saved level. Priorities are not yet used so this commit should have no effect. Revision Changes Path 1.5 +38 -4 src/sys/kern/kern_cpu.c