summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add Hash HandlerSebastian Huber2021-02-261-0/+76
| | | | Update #4267.
* score: Add _IO_Base64url()Sebastian Huber2021-02-251-18/+38
| | | | Update #4267.
* score: Remove _CORE_barrier_Do_flush()Sebastian Huber2021-02-241-37/+0
| | | | Call _Thread_queue_Flush_critical() directly.
* score: Simplify core barrierSebastian Huber2021-02-242-12/+12
| | | | | | Use the number of threads which must arrive at the barrier to trip the automatic release also to indicate if the barrier is a manual release barrier.
* score: Remove _Objects_Open()Sebastian Huber2021-02-243-6/+3
| | | | | Use the type safe _Objects_Open_u32() instead. Return the object identifier to enforce a common usage pattern.
* score: Change thread action lockingSebastian Huber2021-02-201-3/+0
| | | | | | | | Require that the corresponding lock is acquired before the action handler returns. This helps to avoid recursion in the signal processing. Update #4244.
* score: Fix warning in thread queue opsChris Johns2021-02-161-3/+3
|
* score: Add barrier thread queue operationsSebastian Huber2021-02-062-3/+32
| | | | | | | 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-061-8/+9
| | | | Update #4230.
* score: Constify Thread_queue_First_operationSebastian Huber2021-02-061-6/+6
| | | | Update #4230.
* nios2: Allow ISR nesting in dispatch variantSebastian Huber2021-02-012-173/+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.
* score: Remove double assignmentSebastian Huber2021-02-011-2/+1
| | | | This fix relates to a Coverity issue (UNUSED_VALUE).
* score: Simplify _CORE_message_queue_Broadcast()Sebastian Huber2021-02-011-11/+8
| | | | This fix relates to a Coverity issue (PW.SET_BUT_NOT_USED).
* kern_tc.c: Remove unused codeSebastian Huber2021-02-011-6/+0
| | | | This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
* score: Fix _CORE_message_queue_Submit() indentationSebastian Huber2021-02-011-40/+40
| | | | 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-011-6/+6
| | | | | | | | | | | | | | | | | | | | | 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-011-1/+1
| | | | | | 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.
* Update header.amSebastian Huber2020-12-231-0/+2
|
* arm: Add support for Arm PMSAv8-32Sebastian Huber2020-12-223-0/+568
| | | | Update #4202.
* arm: Add header file for AArch32 System RegistersSebastian Huber2020-12-221-0/+14657
| | | | Update #4202.
* arm: Optimize arm_interrupt_disable()Sebastian Huber2020-12-161-2/+11
| | | | Update #4202.
* cpu/armv7m: Fix table based init for ARMV7M_MPUChristian Mauderer2020-12-141-1/+7
| | | | | | | | Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been applied multiple times. Update #4180
* cpukit/aarch64: Add explanation of exception flowKinsey Moore2020-12-102-3/+18
|
* cpukit/aarch64: Use hex consistently for offsetsKinsey Moore2020-12-105-116/+116
|
* arm: Support Armv8 in <rtems/score/arm.h>Sebastian Huber2020-12-101-11/+10
| | | | Update #4202.
* score: Fix discard 'const' qualifier warningSebastian Huber2020-12-031-1/+1
|
* score: Free old name in _Objects_Set_name()Sebastian Huber2020-12-031-0/+1
| | | | This is the behaviour document in the RTEMS Classic API Guide.
* score: Return a status in _Objects_Set_name()Sebastian Huber2020-12-031-3/+3
|
* score: Canonicalize Doxygen @file commentsSebastian Huber2020-12-02242-381/+1292
| | | | | | Use common phrases for the file brief descriptions. Update #3706.
* score: Delete empty pheapinit.cSebastian Huber2020-12-021-24/+0
|
* score/aarch64: Resolve warning in exception dumpKinsey Moore2020-11-241-2/+2
| | | | | This resolves a warning in the exception frame dump for AArch64 relating to a missized printf format specifier.
* cpu/armv7m: Add table based init for ARMV7M_MPUChristian Mauderer2020-11-201-0/+103
| | | | | | | Modify the MPU functions of the stm32h7 BSP to be table based and available for all ARMV7M BSPs. Update #4180
* config: Initialize task stack allocator on demandSebastian Huber2020-11-191-4/+1
| | | | | Register a custom task stack allocator initialization handler only if necessary.
* config: Simplify task stack allocator initSebastian Huber2020-11-191-8/+0
| | | | | Replace runtime checks with compile time assertions. This makes the INTERNAL_ERROR_BAD_STACK_HOOK obsolete.
* score/aarch64: Size saved SP register for ABIKinsey Moore2020-11-131-1/+4
| | | | | This ensures that the saved SP register is sized appropriately depending on the chosen ABI and prevents a warning in the libmisc stack checker.
* sparc: Add SPARC_INTERRUPT_SOURCE_TO_TRAP()Sebastian Huber2020-11-061-0/+12
| | | | Update #4171.
* sparc: Add SPARC_INTERRUPT_TRAP_TO_SOURCE()Sebastian Huber2020-11-061-0/+17
| | | | Update #4171.
* sparc: Add SPARC_IS_INTERRUPT_TRAP()Sebastian Huber2020-11-061-0/+17
| | | | Update #4171.
* sparc: Move SPARC-specific macros to sparc.hSebastian Huber2020-11-062-22/+40
| | | | | | Clarify Doxygen comments. Fix formatting. Update #4171.
* bsps/arm: Workaround for Errata 845369Sebastian Huber2020-10-161-0/+32
| | | | | | | Add a workaround for Cortex-A9 Errata 845369: Under Very Rare Timing Circumstances Transition into Streaming Mode Might Create Data Corruption. Update #4115.
* Remove *_Is_null() inline functionsSebastian Huber2020-10-141-3/+4
| | | | Simply compare the values against NULL.
* rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber2020-10-1019-62/+28
| | | | | | | | | | | Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors like this: error: no return statement in function returning non-void [-Werror=return-type] Use C11 and C++11 standard means to declare a no-return function. Close #4122.
* score: Add AArch64 portKinsey Moore2020-10-0516-0/+2751
| | | | | This adds a CPU port for AArch64(ARMv8) with support for exceptions and interrupts.
* Decouple the C Program Heap initializationSebastian Huber2020-10-012-0/+91
| | | | | | | Before this patch RTEMS_Malloc_Initialize() had a fixed dependency on _Workspace_Area. Introduce _Workspace_Malloc_initializer to have this dependency only if CONFIGURE_UNIFIED_WORK_AREAS is defined by the application configuration.