Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 09:07:18 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Francois Tigeot <ftigeot@wolfpond.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: bios.h question
Message-ID:  <200409170907.18458.peter@wemm.org>
In-Reply-To: <20040915063512.GA10104@aoi.wolfpond.org>
References:  <20040914150419.GA7191@aoi.wolfpond.org> <200409141543.13318.peter@wemm.org> <20040915063512.GA10104@aoi.wolfpond.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <machine/pc/bios.h> even
> > > though bios(9) exists.
> > > It seems bios.h is only present on the i386 and alpha
> > > architectures.
> > >
> > > Is this normal on amd64 ? If yes, I would appreciate if someone
> > > could point me to an alternative to bios_sigsearch()
> >
> > 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.

> > 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? 

> I will try to see if there is a way to do the same thing via acpi
> instead...

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409170907.18458.peter>