summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()Sebastian Huber2021-11-181-1/+2
|
* rtems: Add signal header to implementation groupSebastian Huber2021-11-172-0/+4
|
* rtems: Add new clock manager directivesSebastian Huber2021-11-151-0/+592
| | | | Update #4527.
* score: Introduce CPU budget operationsSebastian Huber2021-11-151-3/+5
| | | | | | | | | | | | | | This patch set replaces the CPU budget algorithm enumeration with a set of CPU budget operations which implement a particular CPU budget algorithm. This helps to hide the CPU budget algorithm implementation details from the general thread handling. The CPU budget callouts are turned into CPU budget operations. This slightly reduces the size of the thread control block. All schedulers used the default scheduler tick implementation. The tick scheduler operation is removed and the CPU budget operations are directly used in _Watchdog_Tick() if the executing thread uses a CPU budget algorithm. This is performance improvement for all threads which do not use a CPU budget algorithm (default behaviour).
* rtems: rtems_rate_monotonic_get_status()Sebastian Huber2021-10-251-3/+4
| | | | | | | | | Mention that resetting the processor usage time of tasks has no impact on the period status and statistics. Remove no longer relevant RTEMS_NOT_DEFINED error status. Update #4528.
* rtems: Fix rate monotonic statisticsSebastian Huber2021-10-251-5/+2
| | | | | | | | | | | | | | | The rate monotonic period statistics were affected by rtems_cpu_usage_reset(). The logic to detect and work around a CPU usage reset was broken. The Thread_Contol::cpu_time_used is changed to contain the processor time used throughout the entire lifetime of the thread. The new member Thread_Contol::cpu_time_used_at_last_reset is added to contain the processor time used at the time of the last reset through rtems_cpu_usage_reset(). This decouples the resets of the CPU usage and the rate monotonic period statistics. Update #4528.
* rtems: Add ASR implementation to existing groupSebastian Huber2021-10-061-2/+2
| | | | Update #3706.
* rtems: Fix message manager documentationSebastian Huber2021-09-161-2/+2
| | | | | | | Correct the description of the ``count`` parameter of rtems_message_queue_flush(). Update #4508.
* rtems: Add header files to Doxygen groupsSebastian Huber2021-09-157-0/+14
|
* rtems: Move Doxygen group definitionSebastian Huber2021-09-152-10/+8
| | | | | Move the definition of the top-level Classic API implementation group to an implementation header file.
* rtems: Fix message manager documentationSebastian Huber2021-09-151-8/+10
| | | | | | | Remove bogus return status from rtems_message_queue_receive(). Clarify rtems_message_queue_flush(). Update #4508.
* rtems: Generate <rtems/rtems/cache.h>Sebastian Huber2021-09-151-150/+512
| | | | | | | | | Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993. Update #4513.
* rtems: Document time of day constraintsSebastian Huber2021-09-061-4/+13
| | | | Update #4338.
* rtems: Fix rtems_partition_return_buffer()Sebastian Huber2021-08-121-5/+10
| | | | | | | | The rtems_partition_return_buffer() wrongly accepted which were exactly at the buffer area end. Use the buffer area limit address for the range checking. Close #4490.
* rtems: Add rtems_interrupt_raise()Sebastian Huber2021-07-261-37/+125
| | | | | | | | Add rtems_interrupt_raise_on(). Document the currently not implemented rtems_interrupt_clear(). Remove the not implemented and badly named rtems_interrupt_cause() directive. Update #3269.
* rtems: Fix Doxygen commentSebastian Huber2021-07-151-2/+2
|
* rtems: Fix rtems_task_set_affinity() docsSebastian Huber2021-06-171-1/+1
|
* 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.