Driver standard functions

Etienne Fortin etienne.fortin at
Thu Sep 2 15:51:54 UTC 2004

Is there any documentation somewhere that explains in details the
arguments that are passed to the driver entry points in RTEMS? In
particular, what are the types of the "void* arg" argument passed to
initialize, open, close, read and write?

For example, let's say I create a driver for a special kind of device
and that app code use "open(..-.)" on it, what is pointed by void* arg?
And if app code use "write(...)", what is pointed by void* arg, what
structure, what type?


Etienne Fortin

More information about the users mailing list