Changeset 315b929 in rtems


Ignore:
Timestamp:
May 26, 1999, 5:51:04 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ce66895e
Parents:
b1b4fd26
Message:

Added error codes to all service calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/itron3.0/semaphore.t

    rb1b4fd26 r315b929  
    7575@item sematr
    7676is the attributes for this semaphore.  The only attributed
    77 which can be specified is whether tasks wait in FIFO (default)
    78 or priority order.
     77which can be specified is whether tasks wait in FIFO (@code{TA_TFIFO})
     78or priority (@code{TA_TPRI}) order.
    7979
    8080@item isemcnt
     
    162162@code{E_OK} - Normal Completion
    163163
    164 @code{E_NOMEM} - Insufficient memory (Memory for control block cannot be allocated)
    165 
    166 @code{E_ID} - Invalid ID number (semid was invalid or could not be used)
    167 
    168 @code{E_RSATR} - Reserved attribute (sematr was invalid or could not be used)
    169 
    170 @code{E_OBJ} - Invalid object state (a semaphore of the same ID already exists)
    171 
    172 @code{E_OACV} - Object access violation (A semid less than -4 was specified from a user task.  This is implementation dependent.)
    173 
    174 @code{E_PAR} - Parameter error (pk_csem is invalid and/or isemcnt or maxsem is negative or invalid)
    175 
    176 @code{EN_OBJNO} - An object number which could not be accessed on the target node is specified.
    177 
    178 @code{EN_CTXID} - Specified an object on another node when the system call was
    179 issued from a task in dispatch disabled state or from a task-
     164@code{E_NOMEM} - Insufficient memory (Memory for control block cannot be
     165allocated)
     166
     167@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     168
     169@code{E_RSATR} - Reserved attribute (sematr was invalid or could not be
     170used)
     171
     172@code{E_OBJ} - Invalid object state (a semaphore of the same ID already
     173exists)
     174
     175@code{E_OACV} - Object access violation (A semid less than -4 was
     176specified from a user task.  This is implementation dependent.)
     177
     178@code{E_PAR} - Parameter error (pk_csem is invalid and/or isemcnt or
     179maxsem is negative or invalid)
     180
     181@code{EN_OBJNO} - An object number which could not be accessed on the
     182target node is specified.
     183
     184@code{EN_CTXID} - Specified an object on another node when the system call
     185was issued from a task in dispatch disabled state or from a task-
    180186independent portion
    181187
    182 @code{EN_PAR} - A value outside the range supported by the target node and/or
    183 transmission packet format was specified as a parameter (a value
    184 outside supported range was specified for exinf, sematr, isemcnt
    185 and/or maxsem)
    186 
    187 @subheading DESCRIPTION:
    188 
    189 @subheading NOTES:
    190 
     188@code{EN_PAR} - A value outside the range supported by the target node
     189and/or transmission packet format was specified as a parameter (a value
     190outside supported range was specified for exinf, sematr, isemcnt and/or
     191maxsem)
     192
     193@subheading DESCRIPTION:
     194
     195
     196
     197@subheading NOTES:
     198
     199NONE
    191200
    192201
     
    215224@subheading DESCRIPTION:
    216225
    217 @subheading NOTES:
     226@code{E_OK} - Normal Completion
     227
     228@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     229
     230@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     231does not exist)
     232
     233@code{E_OACV} - Object access violation (A semid less than -4 was
     234specified from a user task.  This is implementation dependent.)
     235
     236@code{EN_OBJNO} - An object number which could not be accessed on the
     237target node is specified.
     238
     239@code{EN_CTXID} - Specified an object on another node when the system call
     240was issued from a task in dispatch disabled state or from a
     241task-independent portion
     242
     243
     244@subheading NOTES:
     245
     246NONE
    218247
    219248
     
    240269@subheading STATUS CODES:
    241270
    242 @subheading DESCRIPTION:
    243 
    244 @subheading NOTES:
     271@code{E_OK} - Normal Completion
     272
     273@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     274
     275@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     276does not exist)
     277
     278@code{E_OACV} - Object access violation (A semid less than -4 was
     279specified from a user task.  This is implementation dependent.)
     280
     281@code{E_QOVR} - Queuing or nesting overflow (the queuing count given by
     282semcnt went over the maximum allowed)
     283
     284@code{EN_OBJNO} - An object number which could not be accessed on the
     285target node is specified.
     286
     287@code{EN_CTXID} - Specified an object on another node when the system call
     288was issued from a task in dispatch disabled state or from a
     289task-independent portion
     290
     291@subheading DESCRIPTION:
     292
     293@subheading NOTES:
     294
     295NONE
    245296
    246297
     
    267318@subheading STATUS CODES:
    268319
    269 @subheading DESCRIPTION:
    270 
    271 @subheading NOTES:
     320@code{E_OK} - Normal Completion
     321
     322@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     323
     324@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     325does not exist)
     326
     327@code{E_OACV} - Object access violation (A semid less than -4 was
     328specified from a user task.  This is implementation dependent.)
     329
     330@code{E_PAR} - Parameter error (tmout is -2 or less)
     331
     332@code{E_DLT} - The object being waited for was deleted (the specified
     333semaphore was deleted while waiting)
     334
     335@code{E_RLWAI} - Wait state was forcibly released (rel_wai was received
     336while waiting)
     337
     338@code{E_TMOUT} - Polling failure or timeout exceeded
     339
     340@code{E_CTX} - Context error (issued from task-independent portions or a
     341task in dispatch disabled state)
     342
     343@code{EN_OBJNO} - An object number which could not be accessed on the
     344target node is specified.
     345
     346@code{EN_PAR} - A value outside the range supported by the target node
     347and/or transmission packet format was specified as a parameter (a value
     348outside supported range was specified for tmout)
     349
     350
     351@subheading DESCRIPTION:
     352
     353@subheading NOTES:
     354
     355NONE
    272356
    273357
     
    294378@subheading STATUS CODES:
    295379
    296 @subheading DESCRIPTION:
    297 
    298 @subheading NOTES:
     380@code{E_OK} - Normal Completion
     381
     382@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     383
     384@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     385does not exist)
     386
     387@code{E_OACV} - Object access violation (A semid less than -4 was
     388specified from a user task.  This is implementation dependent.)
     389
     390@code{E_PAR} - Parameter error (tmout is -2 or less)
     391
     392@code{E_DLT} - The object being waited for was deleted (the specified
     393semaphore was deleted while waiting)
     394
     395@code{E_RLWAI} - Wait state was forcibly released (rel_wai was received
     396while waiting)
     397
     398@code{E_TMOUT} - Polling failure or timeout exceeded
     399
     400@code{E_CTX} - Context error (issued from task-independent portions or a
     401task in dispatch disabled state)
     402
     403@code{EN_OBJNO} - An object number which could not be accessed on the
     404target node is specified.
     405
     406@code{EN_PAR} - A value outside the range supported by the target node
     407and/or transmission packet format was specified as a parameter (a value
     408outside supported range was specified for tmout)
     409
     410
     411@subheading DESCRIPTION:
     412
     413@subheading NOTES:
     414
     415NONE
    299416
    300417
     
    322439@subheading STATUS CODES:
    323440
    324 @subheading DESCRIPTION:
    325 
    326 @subheading NOTES:
     441@code{E_OK} - Normal Completion
     442
     443@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     444
     445@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     446does not exist)
     447
     448@code{E_OACV} - Object access violation (A semid less than -4 was
     449specified from a user task.  This is implementation dependent.)
     450
     451@code{E_PAR} - Parameter error (tmout is -2 or less)
     452
     453@code{E_DLT} - The object being waited for was deleted (the specified
     454semaphore was deleted while waiting)
     455
     456@code{E_RLWAI} - Wait state was forcibly released (rel_wai was received
     457while waiting)
     458
     459@code{E_TMOUT} - Polling failure or timeout exceeded
     460
     461@code{E_CTX} - Context error (issued from task-independent portions or a
     462task in dispatch disabled state)
     463
     464@code{EN_OBJNO} - An object number which could not be accessed on the
     465target node is specified.
     466
     467@code{EN_PAR} - A value outside the range supported by the target node
     468and/or transmission packet format was specified as a parameter (a value
     469outside supported range was specified for tmout)
     470
     471
     472@subheading DESCRIPTION:
     473
     474@subheading NOTES:
     475
     476NONE
    327477
    328478
     
    350500@subheading STATUS CODES:
    351501
    352 @subheading DESCRIPTION:
    353 
    354 @subheading NOTES:
    355 
     502@code{E_OK} - Normal Completion
     503
     504@code{E_ID} - Invalid ID number (semid was invalid or could not be used)
     505
     506@code{E_NOEXS} - Object does not exist (the semaphore specified by semid
     507does not exist)
     508
     509@code{E_OACV} - Object access violation (A semid less than -4 was
     510specified from a user task.  This is implementation dependent.)
     511
     512@code{E_PAR} - Parameter error (the packet address for the return
     513parameters could not be used)
     514
     515@code{EN_OBJNO} - An object number which could not be accessed on the
     516target node is specified.
     517
     518@code{EN_CTXID} - Specified an object on another node when the system call
     519was issued from a task in dispatch disabled state or from a
     520task-independent portion
     521
     522@code{EN_RPAR} - A value outside the range supported by the requesting
     523node and/or transmission packet format was returned as a parameter (a
     524value outside supported range was specified for exinf, wtsk or semcnt)
     525
     526@subheading DESCRIPTION:
     527
     528@subheading NOTES:
     529
     530NONE
     531
Note: See TracChangeset for help on using the changeset viewer.