summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/rtems-fdt: Support prop map items up to the size of uintptr_tChris Johns2022-11-251-0/+6
| | | | Updates #4729
* cpukit: Change license to BSD-2 for files with Gaisler copyrightDaniel Cederman2022-11-141-3/+22
| | | | | | | | | This patch changes the license to BSD-2 for all source files where the copyright is held by Aeroflex Gaisler, Cobham Gaisler, or Gaisler Research. Some files also includes copyright right statements from OAR and/or embedded Brains in addition to Gaisler. Updates #3053.
* cpukit/fdt: Fix typos and clarify paramsKinsey Moore2022-11-101-9/+15
|
* config: Place init task storage area in .rtemsstackSebastian Huber2022-11-091-1/+2
| | | | | This avoids a superfluous zero initialization of the task storage area. This reduces the system initialization time.
* rtems: Fix type in descriptionSebastian Huber2022-11-081-1/+1
|
* libdebugger: Add a target break call to suspend all running threadsChris Johns2022-10-182-0/+9
| | | | | | | - Optionally wait if there is no remote debugger connected and break when the remote connects Closes #4740
* score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALLSebastian Huber2022-10-141-1/+2
| | | | | | | Ensure that the IDLE storage allocator did allocate a suffiently large area. Update #3835. Update #4524.
* config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZESebastian Huber2022-10-146-32/+104
| | | | | | | | | | | | By default, allocate the IDLE task storage areas from the RTEMS Workspace. This avoids having to estimate the thread-local storage size in the default configuration. Add the application configuration option CONFIGURE_IDLE_TASK_STORAGE_SIZE to request a static allocation of the task storage area for IDLE tasks. Update #3835. Update #4524.
* stackchk: Add rtems_stack_checker_iterate()Sebastian Huber2022-10-141-0/+75
|
* stackchk: Avoid internal header fileSebastian Huber2022-10-141-8/+6
|
* score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILEDSebastian Huber2022-10-141-0/+1
| | | | | | Add the INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED fatal error in case the creation of an idle thread fails. This may happen due to a failing create extension provided by the application.
* score: Simplify castsSebastian Huber2022-10-141-8/+4
|
* score: Add CPU_THREAD_LOCAL_STORAGE_VARIANTSebastian Huber2022-10-141-119/+85
| | | | Update #3835.
* score: Move Thread_Control::Registers memberSebastian Huber2022-10-141-2/+9
| | | | | | | | | Place this member placed directly after the end of the common block so that the structure offsets are as small as possible. This helps on instruction set architectures with a very limited range for intermediate values. For example, see the __aeabi_read_tp() implementation for ARM Thumb-1. Update #3835.
* config: Changeable size for IDLE stack allocatorSebastian Huber2022-10-141-5/+12
| | | | | | | | Allow the IDLE stack allocator to change the stack size. This can be used by applications with a very dynamic thread-local storage size to adjust the thread storage area of the IDLE tasks dynamically. Update #4524.
* libmisc/rtems-fdt: Update to support 64bit addressesChris Johns2022-10-101-4/+95
| | | | | | | | | | | | - Add support to get the parent address and size cells - Provide support to get a reg prop address map - Change getting a set of properties to uintptr_t - Improve the debug mode of the ls command to print all props Closes #4729
* rtems: Clarify application config info APISebastian Huber2022-10-042-221/+625
| | | | Update #3993.
* rtems: Fix formatSebastian Huber2022-09-301-1/+1
|
* score: Simplify Chain_Node definitionSebastian Huber2022-09-231-16/+6
| | | | Fix documentation.
* Do not use RTEMS_INLINE_ROUTINESebastian Huber2022-09-1992-842/+842
| | | | | | | Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
* score: Remove _CPU_Counter_difference()Sebastian Huber2022-09-093-10/+7
| | | | | | | All CPU ports used the same _CPU_Counter_difference() implementation. Remove this CPU port interface and mandate a monotonically increasing CPU counter. Close #3456.
* rtems: Include <rtems/score/cpuopts.h>Sebastian Huber2022-09-083-0/+3
| | | | | Directly include <rtems/score/cpuopts.h> in header files using CPU build options.
* score: Improve formattingSebastian Huber2022-09-081-4/+10
|
* config: Add SMP scheduler configuration errorsSebastian Huber2022-09-051-0/+20
| | | | | | Issue an error message if an SMP-specific scheduler is used and RTEMS_SMP is disabled. This might be a more informative compared to compiler or linker errors.
* score: Regenerate <rtems/score/basedefs.h>Sebastian Huber2022-09-051-2/+2
| | | | Two interface specification items moved.
* rtems: Add constraints for rtems_clock_tick()Sebastian Huber2022-09-051-0/+12
|
* Add items to Doxygen groupsSebastian Huber2022-09-0516-17/+53
|
* Fix pedanic warnings without a storage increaseSebastian Huber2022-08-312-1/+11
| | | | | | Use RTEMS_ZERO_LENGTH_ARRAY for flexible array member. Update #4662.
* libtest: Fix warnings without a pragmaSebastian Huber2022-08-311-15/+8
| | | | | | | It seems that recent GCC versions expect that functions with a "const type *" parameter will read from the referenced location. Update #4662.
* config: Include <rtems/posix/timer.h> on demandSebastian Huber2022-08-311-2/+3
| | | | Updates #4691.
* score: Do not expose <limits.h> to <rtems.h>Sebastian Huber2022-08-301-3/+1
| | | | | | | | The <rtems.h> header file should not unnecessarily include standard C header files. The <string.h> and <limits.h> header includes were removed in 2017. Update #4662.
* score: Fix formatSebastian Huber2022-08-291-1/+1
| | | | Update #4706.
* score: Fix formatSebastian Huber2022-08-292-3/+3
| | | | Update #4706.
* Revert "linkersets.h: Fix gcc 12 warning"Sebastian Huber2022-08-291-1/+1
| | | | | | This reverts commit f930206724e65f188fe3b095826ceb1b11000f65. The linker set begin must be a symbol and not a zero-initialized item.
* cpukit/include: Fix including in C++Chris Johns2022-08-226-13/+24
| | | | UPdates #4706
* cpukit/include: Fixes for C++Chris Johns2022-08-223-5/+5
| | | | Updates #4706
* test.h: Add pragma for gcc 12 warningRyan Long2022-08-191-0/+7
| | | | Updates #4662
* schedulerpriority.h: Fix gcc 12 warningRyan Long2022-08-191-1/+1
| | | | | | Changed the size of the array to 1 to get rid of the warning. Updates #4662
* percpu.h: Add pragma for gcc 12 warningRyan Long2022-08-191-0/+8
| | | | Updates #4662
* interr.h: Fix gcc 12 warningRyan Long2022-08-191-1/+3
| | | | | | | The warning that this fixes states that "ISO C restricts enumerator values to range of 'int'." Updates #4662
* linkersets.h: Fix gcc 12 warningRyan Long2022-08-191-1/+1
| | | | | | | Changing the offset from 0 to 1 got rid of a warning stating that offset 0 is out of bounds. Updates #4662
* threads.h: Add pragmas to get rid of gcc 12 errorsRyan Long2022-08-191-0/+15
| | | | Updates #4662
* cpukit/include/rtems/test-info.h: Change @returns to @returnJoel Sherrill2022-08-101-3/+3
|
* Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill2022-08-103-0/+100
| | | | | | | | | This adds the configure option CONFIGURE_POSIX_TIMERS_FACE_BEHAVIOR which allows the application to choose whether to have the POSIX timer_create() function follow the behavior defined by POSIX or the FACE Technical Standard. Updates #4691.
* rtems/malloc.h: Add API level Doxygen groupSebastian Huber2022-08-101-19/+41
| | | | | The interfaces in the MallocSupport group belong to the implementation. They are used by confdefs.h for example.
* libtest: Add T_report_hash_sha256_update()Sebastian Huber2022-08-101-0/+2
| | | | Update #3716.
* libmisc/shell: Add an 'rtems' command to report a running buildChris Johns2022-08-031-0/+6
| | | | - Report version, cpu, bsp, tools and options.
* score: Allow linker garbage collectionSebastian Huber2022-07-282-3/+3
| | | | | | | Place the object control blocks in dedicated sections to allow a linker garbage collection. Update #4678.
* score: Use PTHREAD_CANCELED for _Thread_Cancel()Sebastian Huber2022-07-281-4/+1
| | | | | | | | | | The rtems_task_delete() directive is basically just a combined pthread_cancel() and pthread_join(). In addition, it removes the PTHREAD_DETACHED state. The exit value returned by pthread_join() of threads cancelled by rtems_task_delete() should reflect this by getting a PTHREAD_CANCELED value instead of NULL which could be a normal exit value. Close #4680.
* score: Use priority inheritance for thread joinSebastian Huber2022-07-282-31/+78
| | | | | | | | | | | | | | | | | | | | | Threads may join the thread termination of another thread using the pthread_join() or rtems_task_delete() directives. The thread cancel operation used a special case priority boosting mechanism implemented by _Thread_Raise_real_priority(). The problem was that this approach * is not transitive, * does not account for priority adjustments of the calling task while waiting for the join, * does not support clustered scheduling, and * does not detect deadlocks. All these problems are fixed by using a priority inheritance thread queue for the join operation. Close #4679.