From owner-freebsd-emulation Thu Sep 2 12:35:21 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id C756D14E6F for ; Thu, 2 Sep 1999 12:35:17 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i102.ztm.euronet.nl [194.134.112.63]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id VAA10719; Thu, 2 Sep 1999 21:34:36 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id VAA29975; Thu, 2 Sep 1999 21:34:33 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <37CED149.D460F9EB@scc.nl> Date: Thu, 02 Sep 1999 21:34:33 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: Luoqi Chen Cc: emulation@FreeBSD.ORG Subject: Re: Minor changes to USER_LDT related code References: <199909021902.PAA27772@lor.watermarkgroup.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luoqi Chen wrote: > I like your idea to merge i386_get_ldt_args and i386_set_ldt_args into one > i386_ldt_args and make it public in sysarch.h. We probably also want to > change sysarch and libc code to use it. With regard to the EINVAL return > value, we could change it to EOPNOTSUPP and later map to ENOSYS in > linuxulator. Agreed. > Now do you think the sysarch() interface is still unusable? I feel strongly > about externalize i386_get_ldt/i386_set_ldt, especially there is a standard > API available and it takes very little effort to change the code to use it > (5 more lines in your diff file). Yes, with such a change sysarch can be used. I'll prepare a new diff with the proper changes. Just to make sure: We change the sysarch() interface, because EOPNOTSUPP has not previously been returned, right? I'll send you the changes asap for a final review. Thanks, -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message