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

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


David O'Brien wrote:

>On Wed, Sep 01, 2004 at 01:38:20PM -0700, Julian Elischer wrote:
>  
>
>>I'm rapidly coming to that conclusion myself..
>>
>>breaks all over the place because so many places pretend to be the 
>>kernel when they are not.
>>
>>    
>>
>
>What it really means is we haven't provided a sufficient API for userland
>to get a kernel data that obviously is needed.
>

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


suggestions welcome.

>
>  
>



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