Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 1998 17:24:07 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Jonathan Lemon <jlemon@americantv.com>
Cc:        Chuck Robey <chuckr@glue.umd.edu>, Luigi Rizzo <luigi@labinfo.iet.unipi.it>, Nicolas.Souchu@prism.uvsq.fr, freebsd-hackers@FreeBSD.ORG
Subject:   Re: ISA PnP / snd PnP developments? 
Message-ID:  <199805050024.RAA01550@antipodes.cdrom.com>
In-Reply-To: Your message of "Sun, 03 May 1998 14:31:27 CDT." <19980503143127.54179@right.PCS> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > The Pnp stuff, I mean the assignment, is done before FreeBSD gets
> > control, right?  And there is never any call from FreeBSD to any bios
> > code, right?  Even remapped code, or any code originally copied from
> > bios, right?
> 
> Normally, yes.  However, I've added code to -current so you can make
> BIOS calls while FreeBSD is running; it is currently only used to get
> the correct memory size when the kernel boots.
> 
> The APM code also uses the machine's BIOS to handle all APM events.

... there are also SMI BIOS routines that deal with a lot of the 
behind-the-scenes stuff on laptops.

> I'm sitting on code that will allow 16-bit BIOS calls from the kernel,
> these could conceivably be used to get the various PnP events.

I have actually used this code to talk to the PnP BIOS, and this is the 
right way to go.  Jonathan - have you managed to sort out the issues 
related to supporting both 16-bit and 32-bit PM BIOS calls?  What if 
you had more descriptors available, would it be easier then?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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