From owner-freebsd-hackers Tue May 5 18:57:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA02302 for freebsd-hackers-outgoing; Tue, 5 May 1998 18:57:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com ([210.145.37.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA02145 for ; Tue, 5 May 1998 18:56:27 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id RAA01550; Mon, 4 May 1998 17:24:07 -0700 (PDT) Message-Id: <199805050024.RAA01550@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Jonathan Lemon cc: Chuck Robey , Luigi Rizzo , Nicolas.Souchu@prism.uvsq.fr, freebsd-hackers@FreeBSD.ORG Subject: Re: ISA PnP / snd PnP developments? In-reply-to: Your message of "Sun, 03 May 1998 14:31:27 CDT." <19980503143127.54179@right.PCS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 May 1998 17:24:07 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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