summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* config: Simplify task stack allocator initSebastian Huber2020-11-197-75/+26
| | | | | Replace runtime checks with compile time assertions. This makes the INTERNAL_ERROR_BAD_STACK_HOOK obsolete.
* rtems: Add RTEMS_PARTITION_ALIGNMENTSebastian Huber2020-10-071-8/+9
| | | | Update #4105.
* spmsgq_err01: Use correct max values and fix 64bitKinsey Moore2020-10-051-3/+3
| | | | | Fix spmsgq_err01 on systems with 64-bit pointers and correct max value mismatches and inaccuracies that are more noticable on 64-bit systems.
* rtems: Add rtems_message_queue_construct()Sebastian Huber2020-09-282-9/+14
| | | | | | | | | | | In contrast to message queues created by rtems_message_queue_create(), the message queues constructed by this directive use a user-provided message buffer storage area. Add RTEMS_MESSAGE_QUEUE_BUFFER() to define a message buffer type for message buffer storage areas. Update #4007.
* score: Simplify CORE_message_queue_BufferSebastian Huber2020-09-281-2/+1
| | | | | | | | | | Merge CORE_message_queue_Buffer structure into CORE_message_queue_Buffer_control. Use a zero-length array for the actual message buffer. This reduces the structure size on all targets. Update #4007.
* score: Improve _CORE_message_queue_Initialize()Sebastian Huber2020-09-282-6/+7
| | | | | | Return a status code and differentiate between error conditions. Update #4007.
* rtems: Add rtems_task_construct()Sebastian Huber2020-09-173-10/+18
| | | | | | | | | | | | | | | | | In contrast to rtems_task_create() this function constructs a task with a user-provided task storage area. The new directive uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a task storage area based on the task attributes and the size dedicated to the task stack and thread-local storage. This macro may allow future extensions without breaking the API. Add application configuration option CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS Workspace size estimate. Update #3959.
* CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber2020-09-174-2/+84
| | | | | | | | | | | Add this application configuration option. This configuration option can be used to reserve space for the dynamic linking of modules with thread-local storage objects. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a thread-local storage size. Update #4074.
* spintrcritical08: Increase clock tick intervalSebastian Huber2020-09-101-1/+1
| | | | | On some simulators, a clock tick interval of 1ms seems to be too short. For example, the test failed on sparc/erc32 using the SIS.
* score: Add <rtems/score/freechainimpl.h>Sebastian Huber2020-08-311-1/+1
| | | | | | Hide implementation details. Update #3959.
* rtems: Add _RTEMS_Name_to_id()Sebastian Huber2020-08-311-2/+2
| | | | | | | | | | Simplify object name to identifier directives. Using _RTEMS_Name_to_id() to implement the directives enables a tail call optimization. Change license to BSD-2-Clause according to file history. Update #3053.
* spintrcritical22: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* spintrcritical16: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* spintrcritical23: Fix unused variable warningsSebastian Huber2020-08-201-2/+2
|
* sp37: Fix unused variable warningsSebastian Huber2020-08-201-0/+2
|
* spintrcritical23: Restore runner prioritySebastian Huber2020-08-111-0/+8
|
* spmisc01: Include missing header fileSebastian Huber2020-07-241-0/+2
| | | | Update #4032.
* score: Add RTEMS_WEAKSebastian Huber2020-07-244-1/+108
| | | | Update #4032.
* spintrcritical_support: RemoveSebastian Huber2020-07-232-224/+0
| | | | This test support was replaced by T_interrupt_test() is no longer used.
* spintrcritical24: Use T_interrupt_test()Sebastian Huber2020-07-233-39/+119
|
* spintrcritical23: Use T_interrupt_test()Sebastian Huber2020-07-233-44/+88
|
* spintrcritical22: Use T_interrupt_test()Sebastian Huber2020-07-233-40/+87
|
* spintrcritical21: Use T_interrupt_test()Sebastian Huber2020-07-234-140/+149
|
* spintrcritical20: Use T_interrupt_test()Sebastian Huber2020-07-233-59/+115
|
* spintrcritical18: Use T_interrupt_test()Sebastian Huber2020-07-233-49/+128
|
* spintrcritical16: Use T_interrupt_test()Sebastian Huber2020-07-233-60/+115
|
* spintrcritical15: Use T_interrupt_test()Sebastian Huber2020-07-233-54/+117
|
* spintrcritical13/14: Use T_interrupt_test()Sebastian Huber2020-07-234-67/+147
|
* spintrcritical11/12: Use T_interrupt_test()Sebastian Huber2020-07-234-51/+126
|
* spintrcritical10: Use T_interrupt_test()Sebastian Huber2020-07-233-126/+109
|
* spintrcritical09: Use T_interrupt_test()Sebastian Huber2020-07-233-50/+103
|
* spintrcritical08: Use T_interrupt_test()Sebastian Huber2020-07-233-83/+157
|
* spintrcritical06/spintrcritical07: Remove testsSebastian Huber2020-07-239-242/+0
| | | | | | These two tests check conditions which no longer exist in the thread queue implementation. The are obsolete since the change to use red-black trees for the priority queues.
* spintrcritical01/2/3/4/5: Use T_interrupt_test()Sebastian Huber2020-07-237-96/+191
|
* libtest: Add T_get_one_clock_tick_busy()Sebastian Huber2020-07-231-1/+1
| | | | Update #3199.
* libtest: Add T_busy()Sebastian Huber2020-07-231-1/+2
| | | | Update #3199.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-234-4/+4
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* rtems: Remove deprecated rtems_io_lookup_name()Sebastian Huber2020-07-141-21/+0
| | | | Close #3420.
* rtems: Remove RTEMS_MP_NOT_CONFIGURED errorSebastian Huber2020-06-1812-94/+4
| | | | | | | | | | | | | | Some objects can be created with a local or global scope in a multiprocessing network. In non-multiprocessing configurations setting the scope to local or global had no effect since such a system can be viewed as a multiprocessing network with just one node. One and all nodes is the same in such a network. However, if multiprocessing was configured, creation of a global object in a single node network resulted in an RTEMS_MP_NOT_CONFIGURED error. Remove this error condition for symmetry to the non-multiprocessing setup. This is in line with the task affinity behaviour in SMP systems. Update #4005.
* rtems: Add rtems_get_copyright_notice()Sebastian Huber2020-05-062-0/+2
| | | | Update #3973.
* rtems: Deprecate use of _RTEMS_versionSebastian Huber2020-05-061-0/+2
| | | | Close #3970.
* sapi: Add param check to rtems_extension_create()Sebastian Huber2020-04-171-0/+5
| | | | | | Check that the extensions table is not NULL. Change format. Update #3953.
* Canonicalize config.h includeSebastian Huber2020-04-1637-37/+37
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* score: Return status in _TOD_Set()Sebastian Huber2020-04-141-7/+7
| | | | Update #3949.
* score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()Sebastian Huber2020-04-081-7/+0
| | | | | | Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799.
* sptests/sptls02: Add test caseSebastian Huber2020-03-234-12/+99
| | | | | | | Add a test case which requires the use of __tls_guard() and __tls_init(). Change license to BSD-2-Clause.
* score: Add _IO_Base64()Sebastian Huber2020-03-161-0/+56
| | | | Update #3904.
* sptests/spheapprot: Fix warningSebastian Huber2020-03-041-1/+5
|
* sptests/spextensions01: Add commentSebastian Huber2020-03-031-0/+9
| | | | Update #3885.
* rtems: Add rtems_scheduler_map_priority_from_posix()Sebastian Huber2020-03-031-0/+44
| | | | Update #3881.