summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libmisc/shell: Add flashdev commandAaron Nyholm2023-05-161-0/+7
|
* score: Simplify _Objects_Is_api_valid()Sebastian Huber2023-04-261-3/+1
| | | | Close #4863.
* score: Avoid cyclic header file dependenciesSebastian Huber2023-04-252-60/+66
| | | | | | | | | | | | | There was a cyclic dependency: For RTEMS_STATIC_ANALYSIS we needed basedefs.h in assert.h. For RTEMS_UNREACHABLE() we needed _Assert() from assert.h in basedefs.h. Fix this by introducing _Debug_Unreachable() in basedefs.h. Add RTEMS_FUNCTION_NAME to basedefs.h and use it in basedefs.h and assert.h. Close #4900.
* doxygen: Add files to groups and fix group scopesSebastian Huber2023-03-174-4/+12
|
* doxygen: Fix group identifiersSebastian Huber2023-03-172-6/+6
|
* rtems/test.h: Use __attribute__Sebastian Huber2023-03-161-3/+3
|
* cpukit/jffs2: Add support for NAND under JFFS2Kinsey Moore2023-03-152-0/+157
| | | | | | | | | This adds write buffer and bad block support required for JFFS2 operation on NAND devices. This also adds the minor modifications necessary for RTEMS support in the Linux header stubs and in wbuf.c. Memory and NOR backed applications should experience no difference in operation since they do not expose the callbacks required for write buffer support.
* score: Fix Doxygen group identifierSebastian Huber2023-03-151-1/+1
|
* score: Add file to Doxygen groupSebastian Huber2023-03-151-0/+2
|
* doxygen: Add Doxygen files to a groupSebastian Huber2023-02-161-1/+4
| | | | Update #3707.
* doxygen: Harmonize header file referencesSebastian Huber2023-02-141-3/+3
|
* doxygen: Use @anchor for appl config optionsSebastian Huber2023-02-1417-140/+144
| | | | | | | | | | | The application configuration options are documented in "cpukit/doxygen/appl-config.h". Since the application configuration option defines are also present in multiple test program sources, the "#OPTION" references cannot be mapped to a unique definition. Add an anchor for each option and reference it to avoid the issues with the multiple definitions. Update #3994.
* libtest: Fix Doxygen group identifierSebastian Huber2023-02-131-1/+1
|
* libmisc/serdbg: Remove obsolete serial debugJoel Sherrill2023-02-094-476/+0
| | | | Closes #2828.
* score: Fix maybe uninitialized warningZhongjie Zhu2023-02-071-3/+4
| | | | | | | | | | | | | | | | | | | There are different cases for _ISR_lock_ISR_disable() and _ISR_lock_ISR_enable() in the case RTEMS_SMP is defined or RTEMS_PROFILING is defined, so remove the related code. ../../../cpukit/include/rtems/score/threaddispatch.h: In function '_Thread_Dispatch_disable': ../../../cpukit/include/rtems/score/threaddispatch.h:231:14: warning: 'lock_context' may be used uninitialized [-Wmaybe-uninitialized] 231 | cpu_self = _Thread_Dispatch_disable_critical( &lock_context ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../cpukit/include/rtems/score/threaddispatch.h:210:32: note: by argument 1 of type 'const ISR_lock_Context *' to '_Thread_Dispatch_disable_critical' declared here 210 | static inline Per_CPU_Control *_Thread_Dispatch_disable_critical( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../cpukit/include/rtems/score/threaddispatch.h:225:21: note: 'lock_context' declared here 225 | ISR_lock_Context lock_context; | ^~~~~~~~~~~~ Update #4662.
* score: Remove unused return valueSebastian Huber2023-01-241-11/+4
| | | | | | | Several SMP message processing functions returned a value. This value was always unused. Close #4822.
* cpuuse: Use standard wording and group nameSebastian Huber2023-01-241-8/+8
| | | | Use standard wording in CPU usage reporting files.
* clockdrv: Add clock driver implementation groupSebastian Huber2023-01-241-4/+2
| | | | | | Use standard wording in Clock Driver related files. Update #3706.
* rtems: Fix typoMartin Erik Werner2023-01-231-1/+1
|
* score: Fix minor Rhe->The typo in doxygenMartin Erik Werner2023-01-231-1/+1
|
* score: Fix _Processor_mask_To_uint32_t()Sebastian Huber2022-12-201-2/+2
| | | | | | Correctly calculate the array index and shift value in _Processor_mask_To_uint32_t(). The bugs had no impact yet since this function was always called with a zero value for the index in RTEMS.
* config: Add CONFIGURE_RECORD_INTERRUPTS_ENABLEDSebastian Huber2022-12-022-0/+10
| | | | | | | | This enables the tracing of interrupt entry/exit events through an application configuration option. The interrupt processing can be viewed with Trace Compass using rtems-record-lttng from the RTEMS Tools. Update #4769.
* 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.