summaryrefslogtreecommitdiffstats
path: root/cpukit/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Improve C/C++ standard compatibilitySebastian Huber2024-04-093-379/+439
| | | | | | The processor mask implementation uses flsl() from <strings.h> which is only BSD visible. Move the implementation to a separate header file to hide it from the API level. This fixes build errors with GCC 14.
* rtems: Avoid -Wundef warnings in API headerSebastian Huber2024-03-231-6/+6
|
* Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber2024-03-201-2/+1
| | | | | | | Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
* cpukit: Gate ticks per timeslice configKinsey Moore2024-03-181-1/+3
| | | | | Gate CONFIGURE_TICKS_PER_TIMESLICE appropriately behind CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
* Ensure ticks per timeslice is greater than zeroZack leung2024-03-141-0/+4
|
* crc: Add a CRC-24Q implementationSebastian Huber2024-02-161-0/+106
|
* base64: Add decoderMatthew Joyce2024-02-161-0/+63
|
* base64: Make base64 encoding tables publicSebastian Huber2024-02-161-0/+10
| | | | This makes them reusable. Change the character type to uint8_t.
* base64: Move base64 encoding supportSebastian Huber2024-02-162-62/+125
|
* cpukit/cache: Report coherent add area failuresKinsey Moore2024-01-261-1/+6
| | | | | | This alters the API for rtems_cache_coherent_add_area to allow reporting of failures that can occur during the process of adding a new area to the coherent cache heap.
* flashdev.h: Add missing C++ include guardsBernd Moessner2024-01-161-0/+9
| | | | Updates #4981
* libio: Clean up usage of rtems_termios_device_modeKinsey Moore2024-01-101-1/+2
| | | | | | | | | | | | This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
* libtest: Add T_add_remark()Sebastian Huber2023-11-281-0/+7
| | | | | | | This can be used to report that nested test cases did run in a test case. Update #4971.
* score: Fix typo in nameSebastian Huber2023-11-211-1/+1
|
* score: Fix implicit integer conversion warningsSebastian Huber2023-11-021-6/+6
|
* imfs: Constify rtems_tarfs_load()Sebastian Huber2023-11-021-1/+1
| | | | Change the public image data type to a void pointer.
* cpukit/score: Convert Thread_Life_state to uint32_tKinsey Moore2023-10-301-40/+40
| | | | | | Thread_Life_state is used as a bitfield, but is declared as an enum. This converts the enum typedef to a uint32_t typedef and associated bit definitions.
* doxygen: Replace and move main pageSebastian Huber2023-10-231-951/+0
| | | | | | | | | | | | | | | Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/master/user/overview/index.html#features The replaced content can be found in the RTEMS Classic API Guide: https://docs.rtems.org/branches/master/c-user/overview.html https://docs.rtems.org/branches/master/c-user/key_concepts.html Update #3705.
* mpci: Hide implementation detailsSebastian Huber2023-10-203-5/+7
| | | | | | | | | | This improves the standard compatibility of API headers. It fixes errors like this if RTEMS_MULTIPROCESSING is enabled: cpukit/include/rtems/score/processormask.h: In function 'uint32_t _Processor_mask_Find_last_set(const Processor_mask*)': cpukit/include/rtems/score/processormask.h:339:21: error: 'flsl' was not declared in this scope 339 | return (uint32_t) __BIT_FLS( CPU_MAXIMUM_PROCESSORS, a ); | ^~~~~~~~~
* tests: Add header for RTEMS test printerSebastian Huber2023-09-262-16/+71
| | | | | | | | | | The <rtems/test-info.h> header file is required for every RTEMS test program. Move the RTEMS test printer support to a dedicated header file <rtems/test-printer.h>. This removes an unnecessary dependency to the RTEMS printer support in <rtems/test-info.h>. Tests using the RTEMS Testing Framework no longer depend on the <rtems/printer.h>.
* rtems: rtems_configuration_get_interrupt_stack_size()Sebastian Huber2023-09-152-2/+14
| | | | | | | | | Fix rtems_configuration_get_interrupt_stack_size() for some code models. The _ISR_Stack_size symbol has an arbitrary absolute address and may not be representable in the code model used by the compiler. Update #4953.
* score: Fix TLS support for some code modelsSebastian Huber2023-09-151-53/+67
| | | | | | | | Store symbols with an arbitrary absolute address such as _TLS_Size, _TLS_Alignment, _TLS_Data_size, and _TLS_BSS_size in an object to avoid issues with some code models. Update #4953.
* score: Fix RTEMS_DEFINE_GLOBAL_SYMBOL()Sebastian Huber2023-09-131-2/+3
| | | | | | | | | The availability of a proper RTEMS_DEFINE_GLOBAL_SYMBOL() implementation depends on __asm__() and thus __GNUC__. Clarify documentation. Update #4953.
* libdl: Realloc text memory if there are trampolinesChris Johns2023-08-272-90/+155
| | | | | | | | | - Add resize to the allocator interface - Rework the trampoline variables in the obj struct to make better sense of what is happening Closes #4944
* libdl: Add support to import base image TLS symbolsChris Johns2023-08-212-5/+29
| | | | | | | | | | | | | | | | This change requires an rtems-tools update for symbol generation. Working architectures: - aarch64 - arm - powerpc - sparc No newlib TLS support but checked: - i386 - m69k Updates #4920
* Add the Regulator Interface and testJoel Sherrill2023-08-112-0/+637
| | | | | | | | | | | Updates #4924. The Regulator is an application support class which is used to deal with the scenario where there is a bursty input source which needs to be metered out to a destination sink. The maximum size of bursts needs to be known and the delivery method must be configured to deliver messages at a rate that allows the traffic to not overflow.
* score: Assert scheduler index validitySebastian Huber2023-07-282-1/+3
| | | | Update #4844.
* doxygen: Fix group memberships in libtestSebastian Huber2023-07-282-6/+5
|
* score: Move <rtems/score/gcov.h>Sebastian Huber2023-07-281-7/+7
| | | | | Move <rtems/score/gcov.h> to <rtems/test-gcov.h>. These functions do not belong to an super core service.
* score: Move formatted I/O functionsSebastian Huber2023-07-283-144/+119
| | | | These functions do not belong to an super core service.
* Revert "cpukit/dev/can: Added CAN support"Gedare Bloom2023-07-273-620/+0
| | | | | | This reverts commit cd91b37dce728b372f164355719a4e601e12e7b3. Closes #4803.
* sys: Add files to Doxygen groupSebastian Huber2023-07-263-3/+21
| | | | | | Canonicalize brief descriptions. Update #3707.
* timecounter: Add files to Doxygen groupSebastian Huber2023-07-266-0/+47
| | | | Update #3707.
* posix: Add files to Doxygen groupSebastian Huber2023-07-262-7/+7
| | | | | | Canonicalize brief descriptions. Update #3707.
* rtems: Add files to Doxygen groupsSebastian Huber2023-07-263-31/+131
| | | | | | | Provide basic Doxygen comments. Update #3706. Update #3707.
* libtest: Place files into a Doxygen groupSebastian Huber2023-07-262-2/+20
| | | | | | Canonicalize the file headers. Update #3707.
* rtems: Improve task entry wordingSebastian Huber2023-07-251-3/+3
|
* score: Move _IO_Relax() to new <rtems/dev/io.h>Sebastian Huber2023-07-242-8/+68
| | | | This function is not a super core service.
* rtems: Fix typoSebastian Huber2023-07-201-1/+1
| | | | Update #4772.
* rtems: Update references to rtems_task_wake_afterKinsey Moore2023-07-201-8/+13
| | | | | | | | | | rtems_task_wake_after takes a parameter in terms of a count of clock ticks and not a measure in a subunit of seconds. This updates documentation to reflect that. This also makes obvious the caveat about the first tick wait not being a whole tick and points the user at a replacement for better accuracy. Updates #4772
* Revert accidentally committed "Remove unused _IO_Relax"Joel Sherrill2023-07-031-0/+8
| | | | | | Sebastian has agreed to move this out of score. I should have removed this patch from my tree but accidentally committed it with another patch.
* Remove unused _IO_RelaxJoel Sherrill2023-07-031-8/+0
| | | | The only use was in a test.
* pci: Do not use BSP-specific interrupt APISebastian Huber2023-06-161-13/+4
| | | | Update #3269.
* score: Remove CPU port atomic operations APISebastian Huber2023-06-122-1060/+888
| | | | Use the C/C++ standard API directly.
* score: Remove CPU port specific cpuatomic.hSebastian Huber2023-06-121-0/+0
| | | | | All CPU ports used the same <rtems/score/cpustdatomic.h> header file to provide the atomic operations. Remove the header file indirection.
* termios: Add <rtems/termiosdevice.h>Sebastian Huber2023-05-313-242/+304
| | | | | | | Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to provide rtems_termios_device_context and rtems_termios_device_handler. For polled serial device drivers, this removes a header file dependency to the full file system support.
* score/src/pheap*: Remove unreferenced methodsJoel Sherrill2023-05-261-69/+0
| | | | | | | | * _Protected_heap_Get_block_size * _Protected_heap_Iterate * _Protected_heap_Resize_block Closes #4909.
* rtems: Document scheduler configuration APISebastian Huber2023-05-241-159/+453
|
* Update company nameSebastian Huber2023-05-20171-171/+171
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* rtems: Reference types in construct directivesSebastian Huber2023-05-192-2/+4
|