From owner-freebsd-hackers Sun May 3 12:32:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11582 for freebsd-hackers-outgoing; Sun, 3 May 1998 12:32:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11548 for ; Sun, 3 May 1998 12:32:38 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id OAA15919; Sun, 3 May 1998 14:32:00 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id OAA06697; Sun, 3 May 1998 14:31:28 -0500 Message-ID: <19980503143127.54179@right.PCS> Date: Sun, 3 May 1998 14:31:27 -0500 From: Jonathan Lemon To: Chuck Robey Cc: Luigi Rizzo , Nicolas.Souchu@prism.uvsq.fr, freebsd-hackers@FreeBSD.ORG Subject: Re: ISA PnP / snd PnP developments? References: <199805031706.TAA04516@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: ; from Chuck Robey on May 05, 1998 at 01:52:55PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On May 05, 1998 at 01:52:55PM -0400, Chuck Robey wrote: > On Sun, 3 May 1998, Luigi Rizzo wrote: > > > > I'm not a device driver author, but I do know that FreeBSD makes _no_ > > > use whatsoever of the bios. It relies in no way whatsoever on anything > > > > actually this is false. Even booting from disk uses BIOS services. > > and resources to PCI and ISA-PnP devices are assigned by the bios. > > I guess in my mind I was saying that the drivers don't use any bios > routines ... the booting is _not_ done by FreeBSD, so I was still right > there, but the PnP assignment, perhaps the data from that (but not the > routines) are used, is that a correct assumption? The point was, our > device drivers don't make any use of bios routines. Is that right? You > *are* a device driver author, so I'll assume you can answer that > correctly. > > 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. 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. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message