RTEMS Logo

RTEMS 4.6.1 On-Line Library


I/O Manager Major and Minor Device Numbers

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

16.2.2: Major and Minor Device Numbers

Each call to the I/O manager must provide a device's major and minor numbers as arguments. The major number is the index of the requested driver's entry points in the Device Driver Table, and is used to select a specific device driver. The exact usage of the minor number is driver specific, but is commonly used to distinguish between a number of devices controlled by the same driver.

The data types rtems.device_major_number and rtems.device_minor_number are used to manipulate device major and minor numbers, respectively.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2004 OAR Corporation