From owner-freebsd-hackers Wed Jun 10 18:31:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA12283 for freebsd-hackers-outgoing; Wed, 10 Jun 1998 18:31:42 -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 SAA12275 for ; Wed, 10 Jun 1998 18:31:34 -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 0yjwD1-000673-00; Wed, 10 Jun 1998 19:31:19 -0600 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id TAA06881; Wed, 10 Jun 1998 19:31:21 -0600 (MDT) Message-Id: <199806110131.TAA06881@harmony.village.org> To: Mike Smith Subject: Re: PnP BIOS Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 10 Jun 1998 15:33:39 PDT." <199806102233.PAA00784@dingo.cdrom.com> References: <199806102233.PAA00784@dingo.cdrom.com> Date: Wed, 10 Jun 1998 19:31:21 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199806102233.PAA00784@dingo.cdrom.com> Mike Smith writes: : The $PnP cookie isn't actually very useful by itself. It just tells you where to call to get the BIOS' attention, nothing important or useful there :-)... : Jonathan's 16-bit protected-mode call stuff actually handles the PnP : BIOS quite well - I have some pretty trivial code here that I have been : using for a while now that uses it. Jonathan sent me some private mail telling me this as well... : Just of curiosity, what information do you want that's not available : from the table structure? Most systems that implement SMB/DMI 2.0 also : have the table-based interface (because this is what they want to use : with NT). : : You can do all the table-based stuff with /dev/mem, obviously enough. How do you think I found out that I don't have a table :-). The machine that I have was built BEFORE the 2.1 spec was released which is the first spec to define the table (at least according to the copy I grabbed from the Pheonix web site). I'm looking at two or three projects with the BIOS stuff. One is to have a program similar to one that exists on some (all?) windows boxes that will tell me the resources that my machine uses. One is to use this information to "dig" for undocumented features of the motherboard that I'm using. And one is to get the APM device mappings so that I can try to control the Libretto a little better. Not all of these are SMB, per se, but they are kind of cool side projects that I'd like to play with given some time. Warner P.S. Is dingo still around? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message