summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sptests: Avoid include path magicSebastian Huber2019-11-1222-84/+223
| | | | Update #3818.
* tests: Simplify fatal error test supportSebastian Huber2019-11-123-103/+61
| | | | | | Move system.h to shared init.c. Update #3818.
* sptests: Remove obsolete semaphore consume driverSebastian Huber2019-11-123-75/+1
| | | | | | This driver is no longer used by a test program. Update #3818.
* spfatal16: Remove obsolete test programSebastian Huber2019-11-124-64/+1
| | | | | The "TRrc" semaphore was removed in commit 2c12262f9a8fe7975556729f0574fab8d5a792f5.
* sptests: Avoid build system defined definesSebastian Huber2019-11-1225-980/+1010
| | | | Update #3818.
* tests: Remove superfluous SMPTESTS defineSebastian Huber2019-11-121-1/+1
| | | | Update #3818.
* rtems-5: Improve heap fatal error informationsebastian.huber2019-11-052-1/+2
| | | | Update #3806.
* score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()Sebastian Huber2019-10-281-0/+7
| | | | Update #3799.
* score: Install timecounter according to qualitySebastian Huber2019-10-021-22/+79
| | | | | | This makes it possible to install higher quality timecounter in plug-and-play systems and helps to override the clock driver provided timecounter in some test scenarios.
* score: Remove strange timecounter init stepSebastian Huber2019-10-021-6/+6
| | | | | The double call of the timecounter get method was added to FreeBSD in 2002 without a comment. It is not clear why this is needed.
* score: Remove superfluous timecounter membersSebastian Huber2019-10-021-2/+2
|
* Add rtems_version_control_key_is_valid()Sebastian Huber2019-09-111-1/+7
|
* score: Add RTEMS_RETURN_ADDRESS()Sebastian Huber2019-08-281-1/+6
|
* score: Add _ISR_lock_Set_name()Sebastian Huber2019-04-121-5/+17
| | | | | Add _ISR_lock_Set_name() to optimize the initialization of zero-initialized locks.
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-111-1/+1
| | | | | | | Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
* spmisc01: Use RTEMS_CONSTSebastian Huber2019-04-092-0/+7
| | | | Update #3734.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-091-3/+15
| | | | | | | | | | | Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-141-1/+0
|
* Add rtems_board_support_package()Sebastian Huber2019-03-141-0/+1
|
* testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns2019-03-071-2/+4
| | | | | - Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
* score: Fix _Scheduler_EDF_Cancel_job()Sebastian Huber2019-03-012-0/+19
| | | | Remove the priority node only in case it is active.
* score: Avoid some deadlocks in _Once()Sebastian Huber2019-02-182-3/+20
| | | | | | | | Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
* build: Do not install test programsSebastian Huber2019-01-301-3/+1
|
* score: Remove unused _ISR_lock_Flash()Sebastian Huber2019-01-181-2/+0
|
* score: Improve debug support for ISR locksSebastian Huber2019-01-181-0/+12
| | | | Ensure that interrupts are disabled while acquiring an ISR lock.
* build: Remove bogus spqreslib_LDADDSebastian Huber2019-01-141-1/+0
|
* build: Add missing $(LDADD) for dependenciesSebastian Huber2019-01-141-2/+2
|
* Adjust interrupt mode tests for some CPU portsSebastian Huber2019-01-092-4/+29
| | | | | | | In case the robust thread dispatch is enabled by the CPU port, then the interrupt level must not be changed through the task mode. Update #3000.
* tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)Sebastian Huber2019-01-095-5/+5
| | | | It is unnecessary to run these test cases with interrupts disabled.
* spcxx01: Add test caseSebastian Huber2018-12-211-0/+10
|
* Add aligned_alloc() and memalign()Sebastian Huber2018-12-215-0/+99
| | | | | | Ensure that the C++17 aligned new operator works. Close #3666.
* score: Fix per-CPU data allocationSebastian Huber2018-12-182-1/+15
| | | | | | | | | | | Allocate the per-CPU data for secondary processors directly from the heap areas before heap initialization and not via _Workspace_Allocate_aligned(). This avoids dependency on the workspace allocator. It fixes also a problem on some platforms (e.g. QorIQ) where at this early point in the system initialization the top of the RAM is used by low-level startup code on secondary processors (boot pages). Update #3507.
* score: Static Objects_Information initializationSebastian Huber2018-12-149-105/+324
| | | | | | | | | | | Statically allocate the objects information together with the initial set of objects either via <rtems/confdefs.h>. Provide default object informations with zero objects via librtemscpu.a. This greatly simplifies the workspace size estimate. RTEMS applications which do not use the unlimited objects option are easier to debug since all objects reside now in statically allocated objects of the right types. Close #3621.
* score: Remove Objects_Information::maximumSebastian Huber2018-12-071-34/+38
| | | | | | | This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621.
* score: Optimize object lookupSebastian Huber2018-12-071-20/+218
| | | | | | | | | | | | | | | | Use the maximum ID for the ID to object translation. Using the maximum ID gets rid of an additional load from the object information in _Objects_Get(). In addition, object lookups fail for every ID in case the object information is cleared to zero. This makes it a bit more robust during system startup (see new tests in spconfig02). The local table no longer needs a NULL pointer entry at array index zero. Adjust all the object iteration loops accordingly. Remove Objects_Information::minimum_id since it contains only redundant information. Add _Objects_Get_minimum_id() to get the minimum ID. Update #3621.
* rtems: Add rtems_scheduler_get_maximum_priority()Sebastian Huber2018-12-071-1/+25
| | | | Update #3636.
* tests: Fix rtems_test_spin_until_next_tick()Sebastian Huber2018-12-071-0/+2
| | | | | | This bug surfaced due to sporadic failures in sptimecounter02. Adjust rtems_test_spin_for_ticks() to include the partial tick in the argument value.
* Capitalize Rtems to RTEMSMarçal Comajoan Cara2018-12-041-1/+1
|
* Convert CPU counter ticks to/from sbintime_tSebastian Huber2018-12-031-2/+13
| | | | | The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
* rtems: Remove Modes_ControlSebastian Huber2018-11-122-4/+2
| | | | | | | Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598.
* m32c: Remove this targetSebastian Huber2018-11-122-26/+11
| | | | Update #3599.
* spconfig02: Check object methods in default configSebastian Huber2018-11-075-0/+328
| | | | | | | | | | | Ensure that the creation of Classic API objects fails with the expected status code in the default configuration. Ensure that the deletion of Classic API objects fails with the expected status code in the default configuration if the identifier is invalid. Ensure that only the expected objects are present in the default configuration via rtems_object_get_classic_name().
* posix: Enable more sptests test cases by defaultSebastian Huber2018-10-294-96/+35
| | | | Update #2514.
* config: Modify CONFIGURE_INTERRUPT_STACK_SIZESebastian Huber2018-10-241-0/+32
| | | | | | | Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE to set the default value. Close #3480.
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* tests: Use rtems_task_exit()Sebastian Huber2018-10-0582-167/+97
| | | | Update #3533.
* spthreadlife01: A task exit must not returnSebastian Huber2018-10-051-3/+3
| | | | Update #3533.
* rtems: Add rtems_task_exit()Sebastian Huber2018-10-011-3/+27
| | | | Update #3533.
* spthreadlife01: Remove superfluous restart caseSebastian Huber2018-10-011-3/+0
| | | | Update #3243.
* Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALLSebastian Huber2018-09-215-58/+0
| | | | | | | | | | | | The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is checked against the minimum task stack size. The minium tasks task stack size is also a configuration option (CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really help in case of configuration errors. In addition, the interrupt stack is also re-used as the initialization stack in most BSPs. It is probably better to use a stack checker to detect problems. Update #3459.