summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* base64: Move base64 encoding supportSebastian Huber2024-02-161-11/+12
|
* sptimecounter02: Convert to JSON dataSebastian Huber2024-01-153-1064/+120
| | | | This avoids a dependency on the non-standard libxml2 module.
* score: Add _CPU_Get_TLS_thread_pointer()Sebastian Huber2023-09-151-0/+33
| | | | | | | | Add _CPU_Get_TLS_thread_pointer() to get the thread pointer which is used to get the address of thread-local storage objects associated with a thread. Update #4920.
* score: Fix TLS support for some code modelsSebastian Huber2023-09-151-1/+3
| | | | | | | | 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.
* sp37: Check ISR level of system initSebastian Huber2023-09-141-0/+18
|
* tests: Improve RTEMS_DEFINE_GLOBAL_SYMBOL() testsSebastian Huber2023-09-131-2/+9
| | | | | | | Use a symbol value relative to an existing symbol address to make the test work on more code models. Update #4953.
* score: Move formatted I/O functionsSebastian Huber2023-07-281-1/+1
| | | | These functions do not belong to an super core service.
* testsuites: Remove stray ';'Sebastian Huber2023-07-211-1/+1
|
* Update company nameSebastian Huber2023-05-2092-92/+92
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* spsysinit01: Fix sem_open() callSebastian Huber2023-03-141-1/+1
| | | | | | | The O_CREAT flag requires a mode and initial value as third and fourth argument. Close #4878.
* Remove remnants of rtems_io_lookup_nameJoel Sherrill2022-11-101-3/+0
| | | | Updates #3420.
* sptests: Avoid fatal error to end a testSebastian Huber2022-10-252-0/+2
| | | | | End the test with a normal exit instead of INTERNAL_ERROR_THREAD_EXITTED.
* score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALLSebastian Huber2022-10-141-1/+1
| | | | | | | 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-145-5/+92
| | | | | | | | | | | | 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.
* score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILEDSebastian Huber2022-10-141-1/+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.
* config: Changeable size for IDLE stack allocatorSebastian Huber2022-10-142-4/+4
| | | | | | | | 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.
* sptls02: Fix alignment checkSebastian Huber2022-10-141-2/+6
|
* sptls01: Disable file system and Newlib reentrancySebastian Huber2022-10-141-1/+34
| | | | Update #4560.
* sptls0*: Enable stack checkerSebastian Huber2022-10-143-0/+12
| | | | | The thread-local storage area is located close to other stacks. Try to detect overwrites.
* Do not use RTEMS_INLINE_ROUTINESebastian Huber2022-09-191-1/+1
| | | | | | | Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
* sp54: Fix test caseSebastian Huber2022-08-011-2/+2
| | | | | | | Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is zero-initialized. Use an initial object control block instead. Update #4678.
* score: Remove PRIORITY_PSEUDO_ISR thread prioritySebastian Huber2022-07-261-11/+7
| | | | | | | | | | | | | | | The uniprocessor schedulers had some special case logic for the PRIORITY_PSEUDO_ISR priority. Tasks with a priority of PRIORITY_PSEUDO_ISR were allowed to preempt a not preemptible task. If other higher priority task are made ready while a PRIORITY_PSEUDO_ISR task preempts a not preemptible task, then the other tasks run before the not preemptible task. This made the RTEMS_NO_PREEMPT mode ineffective. Remove the PRIORITY_PSEUDO_ISR special case logic. This simplifies the uniprocessor schedulers. Move the uniprocessor-specific scheduler support to the new header file <rtems/score/scheduleruniimpl.h>. Close #2365.
* sptests/spstdc17: New testSebastian Huber2022-07-252-0/+69
|
* sptests: Disable Newlib reentrancyMatt Joyce2022-07-214-1/+22
| | | | Update #4560.
* sptls04: Test an external TLS objectSebastian Huber2022-07-213-3/+81
|
* spsysinit01: Account for use of .noinit sectionSebastian Huber2022-07-181-2/+2
| | | | | | | The objects control blocks cannot be used to check the pre-initialization state since they are allocated in a .noinit section. Update #4678.
* spunlimited01: New testSebastian Huber2022-07-182-0/+139
| | | | Update #4677.
* score: Extend memory dirty/zero actionsSebastian Huber2022-07-151-6/+42
| | | | | | Dirty or zero also the part of the .noinit section used by RTEMS. Close #4678.
* score: Place object controls into .noinit sectionsSebastian Huber2022-07-151-1/+2
| | | | | | | | | | | | Place the statically allocated object control blocks, local tables, and thread queue heads into the dedicated .noinit intput sections. The output section is not zero initialized. Placing these elements into the .noinit section reduces the system initialization time by decreasing the .bss section size. It may improve the cache efficiency since the mostly read local tables are placed in a contiguous memory area. Update #4678.
* spextensions01: Fix assertionSebastian Huber2022-07-141-2/+11
| | | | | Commit 80090639a62b50d7d66614ca789e4592924a06e5 altered the system state change. Account for this in assert_allocator_protected_thread_context().
* sppps01: Fix test in SMP configurationsSebastian Huber2022-07-131-1/+1
| | | | Update #2349.
* sppps01: Add test case for early returns of pps_event()Gabriel Moyano2022-07-051-3/+46
| | | | Update #2349.
* score: Add _CPU_Use_thread_local_storage()Sebastian Huber2022-07-041-4/+16
| | | | | | | | | | | | At some point during system initialization, the idle threads are created. Afterwards, the boot processor basically executes within the context of an idle thread with thread dispatching disabled. On some architectures, the thread-local storage area of the associated thread must be set in dedicated processor registers. Add the new CPU port function to do this: void _CPU_Use_thread_local_storage( const Context_Control *context ) Close #4672.
* spcpuset01: Account for <sys/cpuset.h> API changesSebastian Huber2022-06-231-0/+10
| | | | Update #4667.
* testsuite: Fix gcc 12 warningsChris Johns2022-06-212-1/+6
|
* sptests/spglobalcon01/init.cc: Change license to BSD-2Joel Sherrill2022-06-141-3/+22
| | | | Updates #3053.
* sptests/*/*.doc: Change license to BSD-2Joel Sherrill2022-06-141-3/+20
| | | | Updates #3053.
* smptests/*/*.py: Change license to BSD-2Joel Sherrill2022-06-141-3/+22
| | | | | | Manually adjusted location of SPDX annotation so #! remains first line. Updates #3053.
* sppps01: Improve default handler testGabriel Moyano2022-05-271-0/+6
| | | | Update #2349.
* testsuites/sptests: Add sppps01 testGabriel Moyano2022-05-231-0/+191
| | | | Update #2349.
* timepps.h: PPS_SYNC defined by defaultGabriel Moyano2022-05-231-1/+1
| | | | Update #2349.
* sp65/init.c: Add file header and licenseRyan Long2022-04-271-0/+15
| | | | | This file had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* sp47/init.c: Add file header and licenseRyan Long2022-04-271-0/+15
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* sp44/init.c: Add file header and licenseRyan Long2022-04-271-0/+15
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* sptests/sp27*: Manually adding file headers and licensesRyan Long2022-04-272-0/+70
| | | | | These files had no file header, copyright, or license. Based on git history, added appropriate copyright and license.
* sptests: Manually adding file headers and licensesRyan Long2022-04-2716-0/+560
| | | | | Theses files had no file header, copyright, or license. Based on git history, added appropriate copyrights and licenses.
* sp0*/*.doc: Remove junk UTF-8 characterJoel Sherrill2022-04-056-5/+9
|
* testsuites/sptests/sp[i-z]*/*.doc: Change license to BSD-2Joel Sherrill2022-04-0540-120/+880
| | | | Updates #3053.
* testsuites/sptests/sp[a-h]*/*.doc: Change license to BSD-2Joel Sherrill2022-04-0529-84/+618
| | | | Updates #3053.
* testsuites/sptests/sp[0-7]*/*.doc: Change license to BSD-2Joel Sherrill2022-04-0569-207/+1518
| | | | Updates #3053.