svn commit: r184974 - head/sys/dev/mfi

Kostik Belousov kostikbel at gmail.com
Tue Nov 18 03:06:30 PST 2008


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 r185047: T
> ue Nov 18 08:55:27 MSK 2008     root at dchagin.dialup.corbina.ru:/usr/obj/usr/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;
> 
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20081118/2d6d430b/attachment.pgp


More information about the svn-src-head mailing list