summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-16libmisc/shell: Add flashdev commandAaron Nyholm1-0/+7
2023-04-26score: Simplify _Objects_Is_api_valid()Sebastian Huber1-3/+1
Close #4863.
2023-04-25score: Avoid cyclic header file dependenciesSebastian Huber2-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.
2023-03-17doxygen: Add files to groups and fix group scopesSebastian Huber4-4/+12
2023-03-17doxygen: Fix group identifiersSebastian Huber2-6/+6
2023-03-16rtems/test.h: Use __attribute__Sebastian Huber1-3/+3
2023-03-15cpukit/jffs2: Add support for NAND under JFFS2Kinsey Moore2-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.
2023-03-15score: Fix Doxygen group identifierSebastian Huber1-1/+1
2023-03-15score: Add file to Doxygen groupSebastian Huber1-0/+2
2023-02-16doxygen: Add Doxygen files to a groupSebastian Huber1-1/+4
Update #3707.
2023-02-14doxygen: Harmonize header file referencesSebastian Huber1-3/+3
2023-02-14doxygen: Use @anchor for appl config optionsSebastian Huber17-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.
2023-02-13libtest: Fix Doxygen group identifierSebastian Huber1-1/+1
2023-02-09libmisc/serdbg: Remove obsolete serial debugJoel Sherrill4-476/+0
Closes #2828.
2023-02-07score: Fix maybe uninitialized warningZhongjie Zhu1-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.
2023-01-24score: Remove unused return valueSebastian Huber1-11/+4
Several SMP message processing functions returned a value. This value was always unused. Close #4822.
2023-01-24cpuuse: Use standard wording and group nameSebastian Huber1-8/+8
Use standard wording in CPU usage reporting files.
2023-01-24clockdrv: Add clock driver implementation groupSebastian Huber1-4/+2
Use standard wording in Clock Driver related files. Update #3706.
2023-01-23rtems: Fix typoMartin Erik Werner1-1/+1
2023-01-23score: Fix minor Rhe->The typo in doxygenMartin Erik Werner1-1/+1
2022-12-20score: Fix _Processor_mask_To_uint32_t()Sebastian Huber1-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.
2022-12-02config: Add CONFIGURE_RECORD_INTERRUPTS_ENABLEDSebastian Huber2-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.
2022-11-25libmisc/rtems-fdt: Support prop map items up to the size of uintptr_tChris Johns1-0/+6
Updates #4729
2022-11-14cpukit: Change license to BSD-2 for files with Gaisler copyrightDaniel Cederman1-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.
2022-11-10cpukit/fdt: Fix typos and clarify paramsKinsey Moore1-9/+15
2022-11-09config: Place init task storage area in .rtemsstackSebastian Huber1-1/+2
This avoids a superfluous zero initialization of the task storage area. This reduces the system initialization time.
2022-11-08rtems: Fix type in descriptionSebastian Huber1-1/+1
2022-10-18libdebugger: Add a target break call to suspend all running threadsChris Johns2-0/+9
- Optionally wait if there is no remote debugger connected and break when the remote connects Closes #4740
2022-10-14score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALLSebastian Huber1-1/+2
Ensure that the IDLE storage allocator did allocate a suffiently large area. Update #3835. Update #4524.
2022-10-14config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZESebastian Huber6-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.
2022-10-14stackchk: Add rtems_stack_checker_iterate()Sebastian Huber1-0/+75
2022-10-14stackchk: Avoid internal header fileSebastian Huber1-8/+6
2022-10-14score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILEDSebastian Huber1-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.
2022-10-14score: Simplify castsSebastian Huber1-8/+4
2022-10-14score: Add CPU_THREAD_LOCAL_STORAGE_VARIANTSebastian Huber1-119/+85
Update #3835.
2022-10-14score: Move Thread_Control::Registers memberSebastian Huber1-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.
2022-10-14config: Changeable size for IDLE stack allocatorSebastian Huber1-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.
2022-10-10libmisc/rtems-fdt: Update to support 64bit addressesChris Johns1-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
2022-10-04rtems: Clarify application config info APISebastian Huber2-221/+625
Update #3993.
2022-09-30rtems: Fix formatSebastian Huber1-1/+1
2022-09-23score: Simplify Chain_Node definitionSebastian Huber1-16/+6
Fix documentation.
2022-09-19Do not use RTEMS_INLINE_ROUTINESebastian Huber92-842/+842
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
2022-09-09score: Remove _CPU_Counter_difference()Sebastian Huber3-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.
2022-09-08rtems: Include <rtems/score/cpuopts.h>Sebastian Huber3-0/+3
Directly include <rtems/score/cpuopts.h> in header files using CPU build options.
2022-09-08score: Improve formattingSebastian Huber1-4/+10
2022-09-05config: Add SMP scheduler configuration errorsSebastian Huber1-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.
2022-09-05score: Regenerate <rtems/score/basedefs.h>Sebastian Huber1-2/+2
Two interface specification items moved.
2022-09-05rtems: Add constraints for rtems_clock_tick()Sebastian Huber1-0/+12
2022-09-05Add items to Doxygen groupsSebastian Huber16-17/+53
2022-08-31Fix pedanic warnings without a storage increaseSebastian Huber2-1/+11
Use RTEMS_ZERO_LENGTH_ARRAY for flexible array member. Update #4662.