From owner-freebsd-emulation Sun Jun 11 10:43:14 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mass.cdrom.com (adsl-63-206-88-224.dsl.snfc21.pacbell.net [63.206.88.224]) by hub.freebsd.org (Postfix) with ESMTP id 8201237C9D2; Sun, 11 Jun 2000 10:43:05 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id KAA14537; Sun, 11 Jun 2000 10:47:00 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200006111747.KAA14537@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Daniel C. Sobral" Cc: current@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: VMware detection code in boot loader In-reply-to: Your message of "Mon, 12 Jun 2000 00:27:48 +0900." <3943AFF4.6821783E@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Jun 2000 10:47:00 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Mike Smith wrote: > > > > > VMware intercepts the inb/outb instruction to port 0x5658 when the eax > > > register is set to a magic value, otherwise it would be handled as any > > > other ports. > > > > I think, again, that adding an i386-specific word that detects the > > presence of VMware is a perfectly sensible idea, and it should simply be > > done. > > Given the way VMware works, I'd have nothing against making it a FICL > words, except... > > ...VMware is a port. For some reason, I dislike the idea of having > support targetted at exclusively one specific port. Though we have > features added specifically to deal with certain ports, they were all > more generic features. It's not a port, it's a platform. We probably want to add extra words to detect other platform features, eg. i386, alpha, ia64, etc. but that doesn't invalidate the basic idea. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message