Subject: Re: populating section 9.
To: Greywolf <>
From: Darren Reed <>
List: tech-kern
Date: 02/20/2000 13:28:39
In some email I received from Greywolf, sie wrote:
> Yes.  I thought the purpose of section 9 was not for stuff that existed
> in the kernel as much for device driver interfaces (DDI) and driver-kernel
> interfaces (DKI); i.e. how to get the kernel and a driver to play nice.
> Not quite a tutorial, but interface-level stuff.  I'm not clear on what
> I'm saying, as a kernel hacker I am not, but hopefully someone else will
> clue in on this and be able to better explain this.

FWIW, on solaris, bcopy(), et al, is present in 9f and is described as
being "Architecture independent level 1 (DDI/DDK)" (which is where this
idea came upon me from).

> I don't think that section 3 stuff which happens to exist in the kernel
> should be gratuitously duplicated in section 9, unless >_*MAYBE*_< the
> kernel interface to those functions is sufficiently different from the
> userland version, or, i.e. the kernel version does not provide bounds
> checking on the fly(!), et al...

That poses the question then, as in my original email, where do you find
documentation about what is available ?  Is it appropriate to just call
any function that's in the kernel in order to achieve what you need ?