From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 17 19:09:03 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25F0616A4CE for ; Fri, 17 Sep 2004 19:09:03 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A04E43D1F for ; Fri, 17 Sep 2004 19:09:01 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i8HJ90Nf003406; Fri, 17 Sep 2004 21:09:00 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.13.1/8.13.1) with ESMTP id i8HJ8pHu089641; Fri, 17 Sep 2004 21:08:51 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.13.1/8.13.1/Submit) id i8HJ8o2V089640; Fri, 17 Sep 2004 21:08:50 +0200 (CEST) (envelope-from ftigeot) Date: Fri, 17 Sep 2004 21:08:50 +0200 From: Francois Tigeot To: Peter Wemm Message-ID: <20040917190850.GA69926@aoi.wolfpond.org> References: <20040914150419.GA7191@aoi.wolfpond.org> <200409141543.13318.peter@wemm.org> <20040915063512.GA10104@aoi.wolfpond.org> <200409170907.18458.peter@wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409170907.18458.peter@wemm.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-amd64@freebsd.org Subject: Re: bios.h question X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 19:09:03 -0000 On Fri, Sep 17, 2004 at 09:07:18AM -0700, Peter Wemm wrote: > On Tuesday 14 September 2004 11:35 pm, Francois Tigeot wrote: > > On Tue, Sep 14, 2004 at 03:43:13PM -0700, Peter Wemm wrote: > > > On Tuesday 14 September 2004 08:04 am, Francois Tigeot wrote: > > > > I'm running 5.3-BETA4 and I can't find even > > > > though bios(9) exists. > > > > > > We dont even have bios_sigsearch() - all the consumers in the > > > kernel were related to vm86()/bios16()/bios32() calls, which are > > > impossible in our kernel. > > > > This puzzles me, as the functions seem to be present on alpha. > > No, they are not.. The prototypes are there due to over-merging and > lack of cleanup, but there are no implementations for the functions. My bad, I did a quick grep in /usr/src. > > > What do you need it for? It might be ok to revive a subset of it, > > > but it would be useful to know what that file is being used for > > > first, so we know which subsets are needed. > > > > I am experimenting with Bruno Ducrot's powernow_k7 and need to read > > some tables in BIOS memory area. > > Ahh - bios tables. That we can do. This is for a kernel component, > right? Right. The table is providing CPU frequency and voltage information corresponding to different power states. A kernel module could use it to scale system speed according to the average load... At least, it seems this is what this code does on i386: http://www.poupinou.org/cpufreq/bsd/powernow_k7/ -- Francois Tigeot