From owner-svn-src-head@FreeBSD.ORG Tue Nov 18 11:06:30 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FC2D1065672; Tue, 18 Nov 2008 11:06:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 9B62C8FC21; Tue, 18 Nov 2008 11:06:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1L2OMn-0005zI-LW; Tue, 18 Nov 2008 13:03:33 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id mAIAnhig066451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Nov 2008 12:49:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id mAIAnhcS009849; Tue, 18 Nov 2008 12:49:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id mAIAnhHs009847; Tue, 18 Nov 2008 12:49:43 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 18 Nov 2008 12:49:43 +0200 From: Kostik Belousov To: Chagin Dmitry Message-ID: <20081118104943.GO90129@deviant.kiev.zoral.com.ua> References: <200811170237.mAH2bjY5088186@ambrisko.com> <200811171211.42740.jhb@freebsd.org> <20081117193541.GG90129@deviant.kiev.zoral.com.ua> <200811171613.36602.jhb@freebsd.org> <20081117224048.GN90129@deviant.kiev.zoral.com.ua> <20081118061503.GA1596@dchagin.dialup.corbina.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z4D23EFnZpzTzcHd" Content-Disposition: inline In-Reply-To: <20081118061503.GA1596@dchagin.dialup.corbina.ru> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1L2OMn-0005zI-LW bc3a4f7a39c212d93f66c198b2d21285 X-Terabit: YES Cc: Doug Ambrisko , src-committers@freebsd.org, Doug Ambrisko , Peter Wemm , John Baldwin , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r184974 - head/sys/dev/mfi X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 11:06:30 -0000 --z4D23EFnZpzTzcHd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 18, 2008 at 09:15:03AM +0300, Chagin Dmitry wrote: > thnx! tested at > dchagin# uname -a > FreeBSD dchagin.dialup.corbina.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #28 r18= 5047: T > ue Nov 18 08:55:27 MSK 2008 root@dchagin.dialup.corbina.ru:/usr/obj/u= sr/loca > l/root/pub/head/sys/YOY amd64 Thanks, I will commit this after make universe finished. > > +#define SV_ABI_MASK 0xff > > +#define SV_CURPROC_FLAG(x) (curproc->p_sysent->sv_flags & (x)) > > +#define SV_CURPROC_ABI() (curproc->p_sysent->sv_flags & SV_ABI_MASK) > > +/* same as ELFOSABI_XXX, to prevent header pollution */ > > +#define SV_ABI_LINUX 3 > > +#define SV_ABI_FREEBSD 9 > > +#define SV_ABI_UNDEF 255 > > + > > #ifdef _KERNEL > > extern struct sysentvec aout_sysvec; > > extern struct sysentvec elf_freebsd_sysvec; >=20 > and what about target proc macro? Do you mean macros similar to SV_CURPROC_FLAG(x) and SV_CURPROC_ABI(), but for arbitrary proc ? ATM, it is not needed in the tree, I think. We will introduce them as needed. --z4D23EFnZpzTzcHd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkincYACgkQC3+MBN1Mb4jH1ACfesseSm/I2OaDxYjM7FpPoruo W2oAn2KClqZm+7rZVkT4xO01ef89p9T6 =yJi3 -----END PGP SIGNATURE----- --z4D23EFnZpzTzcHd--