summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not use RTEMS_INLINE_ROUTINESebastian Huber10 days1-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.
* testsuites/sptests/sp[s-z]*: Change license to BSD-2Joel Sherrill2022-04-0555-165/+1210
| | | | Updates #3053.
* testsuites/sptests/sp[g-r]*: Change license to BSD-2Joel Sherrill2022-04-0551-153/+1122
| | | | Updates #3053.
* testsuites/sptests/sp[a-f*]*: Change license to BSD-2Joel Sherrill2022-04-0552-156/+1144
| | | | Updates #3053.
* testsuites/sptests/sp[4-7]*: Change license to BSD-2Joel Sherrill2022-04-0531-93/+682
| | | | Updates #3053.
* testsuites/sptests/sp[2-3]*: Change license to BSD-2Joel Sherrill2022-04-0540-120/+880
| | | | Updates #3053.
* testsuites/sptests/sp1*: Change license to BSD-2Joel Sherrill2022-04-0549-147/+1078
| | | | Updates #3053.
* testsuites/sptests/sp0*: Change license to BSD-2Joel Sherrill2022-04-0541-123/+902
| | | | Updates #3053.
* testsuites: Manual file header clean upChristian Mauderer2022-03-101-6/+0
| | | | Updates #4625.
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-1054-319/+2
| | | | Updates #4625.
* testsuites/.../*doc: Manual cleanup of embedded brains File HeadersJoel Sherrill2022-03-103-27/+5
| | | | | | | There were not a lot of these and they did not match the patterns of the C. Updates #4625.
* kern_ntptime.c: Port to RTEMSSebastian Huber2022-02-211-0/+111
| | | | | | Remove previous adjtime() implementation. Update #2348.
* sptests: Avoid a dependency on errnoSebastian Huber2022-01-287-3/+26
| | | | | | | | Avoid a dependency on errno which might be a thread-local object. The tests sp01, spstkalloc02, and sptls03 assume that no thread-local storage object is present. Update #4560.
* Remove obsolete rtems_gxx_*() implementationSebastian Huber2022-01-276-108/+0
| | | | | | | | | | | GCC versions prior to 6.1 used a RTEMS thread model based on rtems_gxx_*() functions. GCC version 6.1 or later uses the self-contained synchronization objects of Newlib <sys/lock.h> for the RTEMS thread model. Remove the obsolete implementation. Close #3143.
* spintrcritical21: Clear pending eventsSebastian Huber2022-01-121-0/+16
| | | | | The test runner checks that there are no pending events after a test case.
* score: Simplify thread wait state handlingSebastian Huber2021-11-234-20/+6
| | | | | | | | | | Remove the THREAD_WAIT_STATE_READY_AGAIN and simply use the initial value to indicate that a thread does not wait on something. Rename THREAD_WAIT_FLAGS_INITIAL to THREAD_WAIT_STATE_READY. This change is necessary so that _Thread_Continue() can be called for threads which never waited on something (for example dormant threads). Update #4546.
* score: Add node to insert to Chain_Node_orderSebastian Huber2021-11-231-1/+7
| | | | | | This allows to use additional members of the nodes for comparision. Update #4534.
* rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()Sebastian Huber2021-11-1812-13/+13
|
* score: Port large time delta support to RTEMSSebastian Huber2021-11-151-2/+2
|
* score: Introduce CPU budget operationsSebastian Huber2021-11-151-0/+8
| | | | | | | | | | | | | | This patch set replaces the CPU budget algorithm enumeration with a set of CPU budget operations which implement a particular CPU budget algorithm. This helps to hide the CPU budget algorithm implementation details from the general thread handling. The CPU budget callouts are turned into CPU budget operations. This slightly reduces the size of the thread control block. All schedulers used the default scheduler tick implementation. The tick scheduler operation is removed and the CPU budget operations are directly used in _Watchdog_Tick() if the executing thread uses a CPU budget algorithm. This is performance improvement for all threads which do not use a CPU budget algorithm (default behaviour).