Each application utilizing the RTEMS I/O manager must specify the address of a Device Driver Table in its Configuration Table. This table contains each device driver's entry points that is to be initialised by RTEMS during initialization. Each device driver may contain the following entry points:
If the device driver does not support a particular
entry point, then that entry in the Configuration Table should
be NULL. RTEMS will return
RTEMS.SUCCESSFUL
as the executive's and
zero (0) as the device driver's return code for these device
driver entry points.
Applications can register and unregister drivers with the RTEMS I/O manager avoiding the need to have all drivers statically defined and linked into this table.
The `confdefs.h
' entry CONFIGURE_MAXIMUM_DRIVERS
configures
the number of driver slots available to the application.
Copyright © 1988-2007OAR Corporation