From owner-freebsd-hackers Wed Jun 10 09:29:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10269 for freebsd-hackers-outgoing; Wed, 10 Jun 1998 09:29:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA10209 for ; Wed, 10 Jun 1998 09:29:22 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0yjnkW-0005oF-00; Wed, 10 Jun 1998 10:29:20 -0600 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id KAA04002 for ; Wed, 10 Jun 1998 10:29:17 -0600 (MDT) Message-Id: <199806101629.KAA04002@harmony.village.org> To: hackers@FreeBSD.ORG Subject: PnP BIOS Date: Wed, 10 Jun 1998 10:29:17 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings, for a variety of reasons, I'd like to be able to call the PnP BIOS that is on my machine. I notice that the kernel currently searches for the $PnP magic cookie, but just prints it on boot. It doesn't even bother to save it away like the SMBIOStable and the DMItable. Has anybody done any work in this area realting to calling PnP BIOS functions from a running system? Reading the PnP MindShare book leads me to believe that this should be fairly simple and easy to do (barring implementation bugs in the BIOS) once you have the "weird" segmentation addressing issues taken care of which the MindShare books seems to imply that you need to do. (I don't have the book in front of me, so it might not be weird but just different...). I'm actually interested in this because I'd like to play with the SMBIOS that my machine has, but it implements 2.0 and not the newer 2.1 (which has the table bios.c is searching for, unlike 2.0). So to do that, I have to be able to call the PnP BIOS. From code inspection it appears that the only BIOS calls that are supported are the INT xx type calls. Is that correct, or have I overlooked something? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message