Changeset 3235ad9 in rtems for cpukit/sapi/src
- Timestamp:
- Aug 23, 1995, 7:30:23 PM (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5250ff39
- Parents:
- 80e2c29e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/src/extension.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/object.h> 18 19 #include <rtems/thread.h> … … 36 37 { 37 38 _Objects_Initialize_information( 38 &_Extension_Information, 39 OBJECTS_RTEMS_EXTENSIONS, 40 FALSE, 41 maximum_extensions, 42 sizeof( Extension_Control ) 39 &_Extension_Information, 40 OBJECTS_RTEMS_EXTENSIONS, 41 FALSE, 42 maximum_extensions, 43 sizeof( Extension_Control ), 44 FALSE, 45 RTEMS_MAXIMUM_NAME_LENGTH 43 46 ); 44 47 } … … 62 65 63 66 rtems_status_code rtems_extension_create( 64 Objects_Namename,67 rtems_name name, 65 68 rtems_extensions_table *extension_table, 66 69 Objects_Id *id … … 69 72 Extension_Control *the_extension; 70 73 71 if ( ! _Objects_Is_name_valid( name ) )74 if ( !rtems_is_name_valid( name ) ) 72 75 return ( RTEMS_INVALID_NAME ); 73 76 … … 83 86 _User_extensions_Add_set( &the_extension->Extension, extension_table ); 84 87 85 _Objects_Open( &_Extension_Information, &the_extension->Object, name );88 _Objects_Open( &_Extension_Information, &the_extension->Object, &name ); 86 89 87 90 *id = the_extension->Object.id; … … 108 111 109 112 rtems_status_code rtems_extension_ident( 110 Objects_Namename,113 rtems_name name, 111 114 Objects_Id *id 112 115 ) … … 114 117 return _Objects_Name_to_id( 115 118 &_Extension_Information, 116 name,119 &name, 117 120 RTEMS_SEARCH_LOCAL_NODE, 118 121 id
Note: See TracChangeset
for help on using the changeset viewer.