Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 13:49:23 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Julian Elischer <julian@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/i386/include param.h
Message-ID:  <20040902204923.GS31434@elvis.mu.org>
In-Reply-To: <41376280.6050801@elischer.org>
References:  <200409011829.i81ITvq9017808@repoman.freebsd.org> <xzp656xlprb.fsf@dwp.des.no> <4136333C.8090207@elischer.org> <20040902175930.GA8551@dragon.nuxi.com> <41376280.6050801@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Julian Elischer <julian@elischer.org> [040902 11:12] wrote:
> 
> yes.. it's tricky..
> should we define a "_KERNEL_INTERFACE" or something?
> how about _REALLY_IS_KERNEL
> which defines _KERNEL
> so if you just need the interface you define _KERNEL
> but include files cna protect REALLY internal stuff with "#ifdef 
> _REALLY_IS_KERNEL

That's too error prone and breaks ABI, you need to split the
structures like the kinfo_proc and xStructs used.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684



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