From owner-freebsd-hackers Wed Jun 10 10:48:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26961 for freebsd-hackers-outgoing; Wed, 10 Jun 1998 10:48:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (daemon@smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26885 for ; Wed, 10 Jun 1998 10:48:28 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id KAA18195; Wed, 10 Jun 1998 10:48:19 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp04.primenet.com, id smtpd018145; Wed Jun 10 10:48:15 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id KAA29713; Wed, 10 Jun 1998 10:48:09 -0700 (MST) From: Terry Lambert Message-Id: <199806101748.KAA29713@usr01.primenet.com> Subject: Re: PnP BIOS To: imp@village.org (Warner Losh) Date: Wed, 10 Jun 1998 17:48:09 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199806101629.KAA04002@harmony.village.org> from "Warner Losh" at Jun 10, 98 10:29:17 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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...). To solve the BIOS calling issue if you need non-INT-based BIOS calls, you should examine a different MindShare book: Protected Mode Software Architecture MindShare, Inc. PC System Architecture Series Tom Shanley ISBN: 0-201-55447-X Yes, *that* Tom Shanley. It discusses all of the issues necessary to implement a VMM (Virtual Machine Manager) for 386 emulation, including all the necessary data to implement using the VM86 bit for virtual interrupt processing. This is basically enough information that, were it implemented, you *should* be able to boot FreeBSD or Linux -- under FreeBSD. And because of the use of a VMM rather than processor emulation, as under BOCHS -- run nearly full speed. Think of it as "the perfect Linux emulation"... 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message