[openbeos] Re: device driver trouble

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 18 Oct 2002 13:20:52 +0200 CEST

Eike Dehling <e.e.dehling@xxxxxxxxxxxxxxxxxx> wrote:
> > > Ok. but in the header-files the functions have the updated/new 
> > > API ?
> >No, they are just not part of the build. Drivers are loaded on an on
> > -
> >demand basis, so the kernel don't need any headers for them.
> i mean that the headers for the device-driver api are up to date...

All what's currently in the build follows the current API which is 
compatible with BeOS.

> > > great. and what if the functions uses parameters which are not 
> > > there?
> > > most of the parameters are references to some structures, where
> > > functions
> > > store things ... i don't even want to think about the result ...
> >Why not? Most probably this will result in a clean crash :-)
> great. that's just what i need! a la m$ :P

Since the compiler won't even let you compile the driver without any 
warnings I don't think this is a problem at all.


Other related posts: