From owner-freebsd-arch@FreeBSD.ORG Mon Aug 31 22:35:46 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FF761065672 for ; Mon, 31 Aug 2009 22:35:46 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 396588FC39 for ; Mon, 31 Aug 2009 22:35:46 +0000 (UTC) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 183B65C071 for ; Tue, 1 Sep 2009 06:35:45 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id DE5B355CDD87; Tue, 1 Sep 2009 06:35:44 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id HqROSmp+0I7n; Tue, 1 Sep 2009 06:34:51 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id B083855CDB0E; Tue, 1 Sep 2009 06:34:45 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=u55yWhwy7Wo+3+lpzj6/ks6iTj0C4tKU2frJ8STOma3S4Fws+TXyK1XimFcwrydE/ E/xJ0AfWO6V9+D3o+7apw== Message-ID: <4A9C4FF4.6030809@delphij.net> Date: Mon, 31 Aug 2009 15:34:28 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.22 (X11/20090803) MIME-Version: 1.0 To: freebsd-arch@FreeBSD.org X-Enigmail-Version: 0.96.0 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Import X11/NetBSD/OpenBSD's x86emu? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 22:35:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, There is some recent discussion about enabling VESA on amd64, by importing OpenBSD's x86emu (which originates from X11 and then imported into NetBSD, then OpenBSD). The x86emu code implements a virtual machine for 80386's real mode in < 9kLoC, and was ported to FreeBSD. Then, the current code for VESA has been modified to have the VESA code run inside the emulator, thus solved the problem that there is no VM86 support when we are in long mode. I'd like to give this a shoot but if there is any objections, please let me know. The patches can be obtained from: ftp://ftp.lissyara.su/users/Guest/vesa/ Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqcT/QACgkQi+vbBBjt66B81gCgtyHBodCx9LY5uqfGaeRYTInn w+IAoLIhhKXhIP/CHTf+AsqVZUldolIO =Rqgi -----END PGP SIGNATURE-----