summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* validation: Add tests for rtems_build_name()Sebastian Huber2021-02-082-0/+156
|
* libcsupport: Have greedy allocations use consume extended memoryChris Johns2021-02-081-0/+13
| | | | | | | - Call the heap extend handler until all memory has been requested. Closes #3982
* libcsupport: Add no_regular_file_mknod as a mount option to the mount tableChris Johns2021-02-082-5/+9
| | | | | | | | | | | | | - Add the bool flag no_regular_file_mknod to the mount table so a file system can indicate creating regular files is not done by use the mknod handler. The file system will handle creating a file node in the open handler. - Note, the mount option is an enum which means there is only one exclusive option supported. As a result no encapsulation is provided and file systems need to set no_regular_file_mknod directly. Closes #4222
* bsp/motorola_powerp: Print RTEMS_VERSION from the bootloaderChris Johns2021-02-081-1/+3
|
* powerpc/shared: ISA bus bridge fails to enable the openpic irqChris Johns2021-02-082-2/+2
| | | | | | | | | | - The call to enable the openpic irq for the ISA bridge fails because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRQ relative to its signals. - Add the MVME 2600/2700 to the list of boards with an ISA bridge. Closes #4231
* score: Add barrier thread queue operationsSebastian Huber2021-02-063-4/+40
| | | | | | | This fixes a missing decrement of the number of waiting threads during a barrier wait timeout. Close #4230.
* score: Make FIFO thread queue ops publicSebastian Huber2021-02-064-8/+145
| | | | Update #4230.
* score: Constify Thread_queue_First_operationSebastian Huber2021-02-062-12/+13
| | | | Update #4230.
* rtems: Clarify partition manager documentationSebastian Huber2021-02-031-44/+124
| | | | | | | Unify the wording across similar directives of other managers. Add "Constraints" paragraph. Update #3993.
* score: _Objects_Build_name() signed/unsigned charSebastian Huber2021-02-031-4/+4
| | | | | | | Change _Objects_Build_name() so that the result is independent of the signedness of char. Close #4228.
* rtems: Avoid duplicated implemenationSebastian Huber2021-02-031-2/+7
| | | | | Use the rtems_clock_get_ticks_per_second() macro to implement the rtems_clock_get_ticks_per_second() function.
* rtems: Rework object services APISebastian Huber2021-02-0310-164/+264
| | | | | | | | | Add a "Constraints" paragraph to the documentation. Provide prototypes for programming language bindings. Use the macro implementation to implement the corresponding functions. Update #3993.
* score: Define _Assert() for static analysis runsSebastian Huber2021-02-012-2/+13
| | | | | | | | | The goal is to reduce false positive NULL_RETURNS, PW.NORETURN_FUNCTION_DOES_RETURN, PW.SET_BUT_NOT_USED, UNUSED_VALUE, etc. issues produced by Coverity. Define RTEMS_STATIC_ANALYSIS if a static analysis run by Coverity is performed.
* libtest: Remove double definitionSebastian Huber2021-02-011-1/+0
|
* score: Clarify thread life state documentationSebastian Huber2021-02-011-2/+2
|
* score: Document Thread_Life_stateSebastian Huber2021-02-011-3/+40
|
* nios2: Allow ISR nesting in dispatch variantSebastian Huber2021-02-014-175/+16
| | | | | | Rename _Nios2_ISR_Dispatch_with_shadow_non_preemptive() in _Nios2_ISR_Dispatch_with_shadow_register_set(). Remove _Nios2_ISR_Dispatch_with_shadow_preemptive().
* nios2: Optimize ISR dispatch variantSebastian Huber2021-02-011-42/+60
| | | | | Use _Thread_Do_dispatch() in _Nios2_ISR_Dispatch_with_shadow_non_preemptive().
* nios2: Use Per_CPU_Control::isr_dispatch_disableSebastian Huber2021-02-015-35/+23
|
* nios2: Add TLS supportSebastian Huber2021-02-011-4/+15
| | | | Update #4214.
* nios2: Make _ISR_Is_in_progress() weakSebastian Huber2021-02-011-1/+1
| | | | This allows the BSP to override this function.
* nios2: Fix ISR dispatch variantsSebastian Huber2021-02-012-9/+7
| | | | | The thread dispatch disabled level moved to _Per_CPU_Information some time ago.
* rtems: Fix implicit type conversionsSebastian Huber2021-02-011-4/+4
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* score: Remove unused _SMP_Assert()Sebastian Huber2021-02-011-9/+0
|
* score: Fix implicit type conversionSebastian Huber2021-02-011-1/+1
| | | | 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).
* libtest: Fix implicit type conversionsSebastian Huber2021-02-012-6/+9
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* rtems: Mark value as usedSebastian Huber2021-02-011-0/+1
| | | | This fix relates to a Coverity issue (UNUSED_VALUE).
* score: Remove double assignmentSebastian Huber2021-02-011-2/+1
| | | | This fix relates to a Coverity issue (UNUSED_VALUE).
* libtest: Check return values with RTEMS_DEBUGSebastian Huber2021-02-011-13/+47
| | | | This fix relates to a Coverity issue (UNINIT).
* score: Remove superfluous type qualifierSebastian Huber2021-02-011-1/+1
| | | | | This fix relates to a Coverity issue (PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE).
* score: Simplify _CORE_message_queue_Broadcast()Sebastian Huber2021-02-011-11/+8
| | | | This fix relates to a Coverity issue (PW.SET_BUT_NOT_USED).
* bsp/leon3: Improve printk() supportSebastian Huber2021-02-011-40/+52
| | | | | | | | Use the idle stack to buffer early uses of printk(). Print the buffered characters during initialization when the UART is available and before the idle stack is used normally. This fix relates to a Coverity issue (PW.SET_BUT_NOT_USED).
* score: Simplify _MRSP_Wait_for_ownership()Sebastian Huber2021-02-011-7/+6
| | | | | | | Do not shadow the queue_context parameter with a local variable. Reuse the queue context to reduce the required stack space. This fix relates to a Coverity issue (PW.PARAMETER_HIDDEN).
* score: Fix implicit type conversionSebastian Huber2021-02-011-1/+1
| | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
* bsp/leon3: Fix incompatible function typesSebastian Huber2021-02-011-4/+6
| | | | This fix relates to a Coverity issue (PW.INCOMPATIBLE_PARAM).
* kern_tc.c: Remove unused codeSebastian Huber2021-02-011-6/+0
| | | | This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
* score: Add comments and asserts for clarificationSebastian Huber2021-02-011-0/+7
| | | | This fix relates to a Coverity issue (NULL_RETURNS).
* score: Fix _CORE_message_queue_Submit() indentationSebastian Huber2021-02-011-40/+40
| | | | This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
* bsp/leon3: Fix bsp_fatal_extension) indentationSebastian Huber2021-02-011-15/+13
| | | | | | Remove superfluous include. Fix comment formatting. This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
* score: Fix _Objects_Get_information() indentationSebastian Huber2021-02-011-7/+8
| | | | This fix relates to a Coverity issue (NESTING_INDENT_MISMATCH).
* score: Add _Thread_Get_objects_information()Sebastian Huber2021-02-014-22/+38
| | | | | | | | | | | | | | | | | | | | | 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.
* score: Rename _Thread_Get_objects_information()Sebastian Huber2021-02-014-10/+14
| | | | | | Rename _Thread_Get_objects_information() in _Thread_Get_objects_information_by_id() to emphasize that this thread method uses an object identifier and not a thread control.
* bsps/aarch64: Add missing includeSebastian Huber2021-01-281-0/+1
| | | | | | | | | Fixes: bsps/shared/dev/irq/arm-gicv2.c:53:6: warning: no previous prototype for 'bsp_interrupt_dispatch' [-Wmissing-prototypes] Close #4227.
* bsp/leon3: Simplify bsp_interrupt_is_valid_vector()Sebastian Huber2021-01-281-5/+5
| | | | | | | There is not need to check that vector >= BSP_INTERRUPT_VECTOR_MIN since BSP_INTERRUPT_VECTOR_MIN is zero and vector is unsigned. This fix relates to CID 1399742 (NO_EFFECT).
* rtems: Use _Status_Get()Sebastian Huber2021-01-283-3/+6
| | | | This fixes implicit conversions between different enum types.
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-2885-772/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* libtest: Remove superfluous NULL pointer checkSebastian Huber2021-01-271-1/+1
| | | | This fix relates to CID 1468683 (REVERSE_INULL).
* libtest: Use dependency injectionSebastian Huber2021-01-271-5/+11
| | | | This helps static analyzers.
* cacheimpl.h: Avoid potential dead codeSebastian Huber2021-01-271-12/+11
| | | | | | | If CPU_DATA_CACHE_ALIGNMENT == CPU_INSTRUCTION_CACHE_ALIGNMENT we had dead code with the previous implementation. This fix relates to CID 1399776 (DEADCODE).