bios.h question

Peter Wemm peter at wemm.org
Fri Sep 17 09:07:26 PDT 2004


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 at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the freebsd-amd64 mailing list