From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 30 23:13:03 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDDBC16A403 for ; Sat, 30 Dec 2006 23:13:03 +0000 (UTC) (envelope-from sbenabas@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF8513C44B for ; Sat, 30 Dec 2006 23:13:02 +0000 (UTC) (envelope-from sbenabas@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so4067281uge for ; Sat, 30 Dec 2006 15:13:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=a2qpg/YYUNFMhm6cxp5PnWDDcVc0yPWvQva0fulRCq/TH/UxsJ629FB85WFwmSffW6aacbQATnHTz8rF03f0TuM/yLCx/ehmJBMbBRfCUxqvVYJRvrbO0zm/w9+F0urBDeERdWYgFdY9a0N7LH+L5v37BL20vn6A1VDEWF1TuOw= Received: by 10.66.243.2 with SMTP id q2mr24313172ugh.1167516608954; Sat, 30 Dec 2006 14:10:08 -0800 (PST) Received: by 10.67.101.20 with HTTP; Sat, 30 Dec 2006 14:10:08 -0800 (PST) Message-ID: <32d8477c0612301410q2aaf9d39k859d242739554fd6@mail.gmail.com> Date: Sat, 30 Dec 2006 17:10:08 -0500 From: "Siavosh Benabbas" To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: i386_set_ldt and wine on AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 23:13:03 -0000 Hi, I know that this is brought up several time on this list, but I wanted to run wine on my FreeBSD AMD64 machine. I know that a 64-bit wine is nearly impossible but I thought that an i386 compilation should work. >From what I gathered from the archives the FreeBSD AMD64 doesn't have the i386_{get/set}_ldt functions in i386/Linux compatibility modes which are needed for wine, and old and/or Linux 32-bit java virtual machines. It seems that the same functionality is available in Linux-AMD64. From what I understand the AMD64 architecture doesn't have LDT/GDT in 64-bit mode but it does have them in Long mode+compatibility mode which is the mode that 32-bit apps are run in. Is there any chance that i363_set_ldt support will be added to FreeBSD-AMD64? Thanks, S. Benabbas