cvs commit: src/sys/i386/include param.h

Alfred Perlstein alfred at freebsd.org
Thu Sep 2 13:49:23 PDT 2004


* Julian Elischer <julian at 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 at mu.org cell: 408-480-4684


More information about the cvs-src mailing list