RTEMS Logo

RTEMS 4.9.2 On-Line Library


I/O Manager IO_REGISTER_NAME - Register a device

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

16.4.4: IO_REGISTER_NAME - Register a device

CALLING SEQUENCE:

procedure IO_Register_Name (
   Name   : in     String;
   Major  : in     RTEMS.Device_Major_Number;
   Minor  : in     RTEMS.Device_Minor_Number;
   Result :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - successfully initialized
RTEMS.TOO_MANY - too many devices registered

DESCRIPTION:

This directive associates name with the specified major/minor number pair.

NOTES:

This directive will not cause the calling task to be preempted.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation