summaryrefslogtreecommitdiffstats
path: root/cpukit/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-19rtems: Add constraint to typesSebastian Huber1-0/+42
2023-05-19basedefs.h: Improve formattingSebastian Huber1-2/+2
2023-05-19basedefs.h: Add proper brief descriptionSebastian Huber1-3/+2
2023-05-19rtems: Conditionally include MPCI headerSebastian Huber1-1/+1
2023-05-16_TOD_Adjust method is unused. Remove it.Joel Sherrill1-15/+0
Use of this method was likely eliminated during the rework to use FreeBSD bintime/sbintime. Close #4905.
2023-05-16libmisc/shell: Add flashdev commandAaron Nyholm1-0/+7
2023-05-16cpukit/flash: Add API for Flash devicesAaron Nyholm1-0/+459
2023-05-09zlib: Update from 1.2.5 to 1.2.13Sebastian Huber2-360/+812
The updated files were extracted from: https://www.zlib.net/zlib-1.2.13.tar.xz The archive had an SHA-256 hash value of: d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 Close #4902.
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 group for FreeBSD kernel header filesSebastian Huber8-0/+16
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-03-14Provide kernel space items only if neededSebastian Huber6-18/+30
The kernel space parts of standard system header files were protected against misuse by a preprocessor error directive. This approach does not work well with tools such as Doxygen. Provide the kernel space items only if the required defines are present.
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-22libfdt: add fdt_get_property_by_offset_w helperTadeusz Struk1-0/+7
Add a new fdt_get_property_by_offset_w helper function. It is a wrapper on fdt_get_property_by_offset that returns a writable pointer to a property at a given offset. Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org> Message-Id: <20221011182611.116011-1-tadeusz.struk@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
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 Cederman14-48/+307
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-10Remove remnants of rtems_io_lookup_nameJoel Sherrill1-21/+0
Updates #3420.
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-30cpukit/dev/can: Added CAN supportPrashanth S3-0/+620
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