Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 12:49:43 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Chagin Dmitry <dchagin@freebsd.org>
Cc:        Doug Ambrisko <ambrisko@freebsd.org>, src-committers@freebsd.org, Doug Ambrisko <ambrisko@ambrisko.com>, Peter Wemm <peter@wemm.org>, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r184974 - head/sys/dev/mfi
Message-ID:  <20081118104943.GO90129@deviant.kiev.zoral.com.ua>
In-Reply-To: <20081118061503.GA1596@dchagin.dialup.corbina.ru>
References:  <200811170237.mAH2bjY5088186@ambrisko.com> <200811171211.42740.jhb@freebsd.org> <20081117193541.GG90129@deviant.kiev.zoral.com.ua> <200811171613.36602.jhb@freebsd.org> <e7db6d980811171321n217adff0gc6213c2779a0f94@mail.gmail.com> <20081117224048.GN90129@deviant.kiev.zoral.com.ua> <20081118061503.GA1596@dchagin.dialup.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081118104943.GO90129>