RTEMS Logo

RTEMS 4.7.2 On-Line Library


User Extensions Manager EXTENSION_CREATE - Create a extension set

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

21.4.1: EXTENSION_CREATE - Create a extension set

CALLING SEQUENCE:

procedure Extension_Create (
   Name   : in     RTEMS.Name;
   Table  : in     RTEMS.Extensions_Table_Pointer;
   ID     :    out RTEMS.ID;
   Result :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - extension set created successfully
RTEMS.INVALID_NAME - invalid extension set name
RTEMS.TOO_MANY - too many extension sets created

DESCRIPTION:

This directive creates a extension set. The assigned extension set id is returned in id. This id is used to access the extension set with other user extension manager directives. For control and maintenance of the extension set, RTEMS allocates an ESCB from the local ESCB free pool and initializes it.

NOTES:

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


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2004 OAR Corporation