Changeset 3235ad9 in rtems for cpukit/sapi
- Timestamp:
- 08/23/95 19:30:23 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5250ff39
- Parents:
- 80e2c29e
- Location:
- cpukit/sapi
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/include/rtems/config.h
r80e2c29e r3235ad9 22 22 #endif 23 23 24 #include <rtems/types.h> 24 25 #include <rtems/object.h> 25 26 #include <rtems/thread.h> … … 33 34 34 35 typedef struct { 35 Objects_Namename; /* task name */36 rtems_name name; /* task name */ 36 37 unsigned32 stack_size; /* task stack size */ 37 38 rtems_task_priority initial_priority; /* task priority */ -
cpukit/sapi/include/rtems/extension.h
r80e2c29e r3235ad9 29 29 #endif 30 30 31 #include <rtems.h> 31 32 #include <rtems/object.h> 32 33 #include <rtems/userext.h> … … 73 74 74 75 rtems_status_code rtems_extension_create( 75 Objects_Namename,76 rtems_name name, 76 77 rtems_extensions_table *extension_table, 77 78 Objects_Id *id … … 90 91 91 92 rtems_status_code rtems_extension_ident( 92 Objects_Namename,93 rtems_name name, 93 94 Objects_Id *id 94 95 ); -
cpukit/sapi/include/rtems/init.h
r80e2c29e r3235ad9 31 31 #endif 32 32 33 #include <rtems/types.h> 33 34 #include <rtems/config.h> 34 35 #include <rtems/intr.h> -
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.