Subject: Re: Kernel include files proposal
To: =?iso-8859-1?Q?=22Jarom=EDr=22?= Dolecek <jdolecek@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 04/11/2001 20:08:10
At 07:12 PM 4/11/2001 +0200, Jarom=EDr" Dolecek wrote:
>Matt Thomas wrote:
> > >note that there *are* files in /usr/include/dev that *are* used by=20
> userland.
> > >the one i can think of off hand is <dev/sun/disklabel.h>.
> >
> > dev/dec/dec_boot.h is needed the vax/pmax installboot programs.
>
>Do these need that header actually installed? Can't they use
>just the kernel header directly?

No.  I do not believe that arch/*/stand/* should do contorted includes
to get things out of sys/...

> > dev/ofw/openfirmio.h is needed by some ofw dumping programs.
>
>So <dev/ofw/openfirmio.h> is supposed to be portable ?

Yep.  It works on at least 4 platforms already (sparc, arm32, macppc,
and sparc64).
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message