summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a common phrase for pointer parametersSebastian Huber2021-06-1513-178/+176
| | | | | | | Mention the type of the pointer in the parameter description. Use the more general term "object" instead of "variable". Update #3993.
* rtems: Document new rtems_task_delete() errorSebastian Huber2021-05-271-0/+3
| | | | Update #4414.
* rtems: Add TOD_Ticks_validationSebastian Huber2021-05-141-12/+19
| | | | | | Replace defines with an enum. Update #4406.
* rtems: Constify rtems_task_wake_when()Sebastian Huber2021-05-122-6/+21
| | | | | | | | | | | | | | | | Add a parameter to _TOD_Validate() to disable the validation of the ticks member. There are two reasons for this change. Firstly, in rtems_task_wake_when() was a double check for time_buffer == NULL (one in rtems_task_wake_when() and one in _TOD_Validate()). Secondly, the ticks member is ignored by rtems_task_wake_when(). This was done with a write of zero to the ticks member and thus a modification of the user-provided structure. Now the structure is no longer modified. Using a mask parameter is quite efficient. You just have to load an immediate value and there are no additional branches in _TOD_Validate(). Close #4406.
* rtems: Document rtems_task_set_scheduler() errorsSebastian Huber2021-05-121-3/+20
|
* rtems: Clarify rtems_task_get_priority() docSebastian Huber2021-05-121-2/+2
|
* _TOD_Validate(): Fix incorrect return codeFrank Kühndel2021-05-121-7/+7
| | | | | | | | | | | | | | | This patch fixes bug #4403. Directives * rtems_timer_fire_when() * rtems_timer_server_fire_when() * rtems_task_wake_when() are documented to return RTEMS_INVALID_ADDRESS when their time-of-day argument is NULL. But actually they return RTEMS_INVALID_CLOCK. To fix the issue this patch changes _TOD_Validate() to return a status code instead of just true/false. Close #4403
* rtems: rtems_scheduler_get_processor_set() docsSebastian Huber2021-05-071-1/+1
| | | | | | Document changed error status. Update #4401.
* rtems_scheduler_ident_by_processor_set() docsSebastian Huber2021-05-071-0/+2
| | | | Document new error status.
* rtems: Generate <rtems/rtems/tasks.h>Sebastian Huber2021-04-282-634/+1983
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/region.h>Sebastian Huber2021-04-281-180/+633
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/intr.h>Sebastian Huber2021-04-281-219/+749
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Fix typo "cod" -> "code"Sebastian Huber2021-04-281-3/+3
|
* rtems: Clarify constraints in documentationSebastian Huber2021-04-286-15/+26
|
* rtems: Constify timer fire when directivesSebastian Huber2021-04-271-2/+2
| | | | Close #4392.
* rtems: Generate <rtems/rtems/ratemon.h>Sebastian Huber2021-04-231-180/+554
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/message.h>Sebastian Huber2021-04-231-183/+720
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Mention timer server fire directivesSebastian Huber2021-04-221-2/+3
| | | | A timer may be also reinitiated by the timer server fire directives.
* rtems: Generate <rtems/rtems/support.h>Sebastian Huber2021-04-211-84/+320
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/mp.h>Sebastian Huber2021-04-211-30/+126
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/dpmem.h>Sebastian Huber2021-04-211-88/+280
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Document rtems_semaphore_obtain() errorsSebastian Huber2021-04-191-0/+7
|
* rtems: Fix rtems_semaphore_release() documentationSebastian Huber2021-04-071-1/+1
| | | | | The directive returns RTEMS_UNSATISFIED if the semaphore's count already had the maximum value of UINT32_MAX.
* score: Replace Objects_Name_or_id_lookup_errorsSebastian Huber2021-04-071-8/+0
| | | | | Replace Objects_Name_or_id_lookup_errors with new Status_Control codes. Get rid of the _Status_Object_name_errors_to_status lookup table.
* rtems: Allow initially locked MrsP semaphoresSebastian Huber2021-03-161-3/+0
| | | | | | Rejecting initially locked MrsP semaphores was due to a limitiation of the early limitiation of the MrsP protocol. This limitation no longer exists.
* rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber2021-03-161-1/+2
| | | | | | | | | MrsP semaphores are a generalization of the priority ceiling semaphores for SMP configurations. Priority ceiling semaphores are required to use the priority task wait queue discipline. Require this discipline also for MrsP semaphores. Close #4347.
* rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENTSebastian Huber2021-03-041-1/+1
| | | | | Make sure we meet the stack alignment requirement for user-provided thread storage areas.
* rtems: Move rtems_task_priority definitionSebastian Huber2021-02-243-4/+11
| | | | | | This type is not only used by Task Manager directives. This is a preparation to move the rtems_scheduler_*() directives from <rtems/rtems/tasks.h> to a new <rtems/rtems/scheduler.h>.
* rtems: Add _Modes_Apply_timeslice_to_thread()Sebastian Huber2021-02-201-0/+22
| | | | Update #4244.
* rtems: New errors for rtems_signal_catch()Sebastian Huber2021-02-201-0/+48
| | | | | | Ensure that no invalid modes are set during ASR processing. Update #4244.
* rtems: Remove _Modes_Set_interrupt_level()Sebastian Huber2021-02-201-14/+0
| | | | | | This call just obfuscated the call to _ISR_Set_level(). Update #4244.
* rtems: Simplify signal handlingSebastian Huber2021-02-203-102/+0
| | | | | | | Remove superfluous ASR_Information::signals_posted. Move code out of trivial inline functions. Update #4244.
* rtems: Remove unused ASR_Information::nest_levelSebastian Huber2021-02-201-2/+0
| | | | Update #4244.
* rtems: Remove unused _Modes_Change()Sebastian Huber2021-02-201-26/+0
| | | | Update #4244.
* rtems: Remove unused _Modes_Mask_changed()Sebastian Huber2021-02-201-14/+0
| | | | Update #4244.
* rtems: Generate <rtems/rtems/signal.h>Sebastian Huber2021-02-192-132/+546
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/sem.h>Sebastian Huber2021-02-171-123/+819
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/clock.h>Sebastian Huber2021-02-171-170/+434
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Generate <rtems/rtems/barrier.h>Sebastian Huber2021-02-171-81/+287
| | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
* rtems: Clarify object services documentationSebastian Huber2021-02-171-6/+6
| | | | | | Unify the wording across similar directives of other managers. Update #3993.
* rtems: Clarify partition manager documentationSebastian Huber2021-02-171-9/+15
| | | | | | Unify the wording across similar directives of other managers. Update #3993.
* rtems: Clarify timer manager documentationSebastian Huber2021-02-171-52/+184
| | | | | | | Unify the wording across similar directives of other managers. Add "CONSTRAINTS" section. Update #3993.
* rtems: Clarify event manager documentationSebastian Huber2021-02-171-16/+108
| | | | | | | Unify the wording across similar directives of other managers. Add "CONSTRAINTS" section. Update #3993.
* rtems: Clarify partition manager documentationSebastian Huber2021-02-031-44/+124
| | | | | | | Unify the wording across similar directives of other managers. Add "Constraints" paragraph. Update #3993.
* rtems: Rework object services APISebastian Huber2021-02-031-58/+192
| | | | | | | | | Add a "Constraints" paragraph to the documentation. Provide prototypes for programming language bindings. Use the macro implementation to implement the corresponding functions. Update #3993.
* rtems: Fix implicit type conversionsSebastian Huber2021-02-011-4/+4
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* rtems: Fix explicit type conversionSebastian Huber2021-02-011-1/+1
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* score: Fix implicit type conversionSebastian Huber2021-02-011-1/+1
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* score: Add _Thread_Get_objects_information()Sebastian Huber2021-02-011-16/+0
| | | | | | | | | | | | | | | | | | | | | We do not need all the checks if we have a valid indentifier to a thread class object. Using the new _Thread_Get_objects_information() instead of the inline function _Thread_Get_objects_information_by_id() avoids dead code since the identifier in a thread control is always valid and the return NULL path in _Thread_Get_objects_information_by_id() would be dead code. The _Thread_Get_objects_information_by_id() should be an inline function since it is used by _Thread_Get() and thus performance critical. Static analyzers which cannot derive that the identifier in a thread control is always valid, may find a potential NULL pointer access (or otherwise find dead code). The identifier in an object control is always valid, see _Objects_Initialize_information() and _Objects_Extend_information(). Move _RTEMS_tasks_Free() to the only source file which calls this function.
* rtems: Add "Notes" paragraph headerSebastian Huber2021-01-278-334/+434
| | | | | | | Place the paragraphs in the same order as the directive documentation in the RTEMS Classic API Guide. Update #3993.