summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-12sptests: Avoid include path magicSebastian Huber22-84/+223
Update #3818.
2019-11-12tests: Simplify fatal error test supportSebastian Huber3-103/+61
Move system.h to shared init.c. Update #3818.
2019-11-12sptests: Remove obsolete semaphore consume driverSebastian Huber3-75/+1
This driver is no longer used by a test program. Update #3818.
2019-11-12spfatal16: Remove obsolete test programSebastian Huber4-64/+1
The "TRrc" semaphore was removed in commit 2c12262f9a8fe7975556729f0574fab8d5a792f5.
2019-11-12sptests: Avoid build system defined definesSebastian Huber25-980/+1010
Update #3818.
2019-11-12tests: Remove superfluous SMPTESTS defineSebastian Huber1-1/+1
Update #3818.
2019-11-05rtems-5: Improve heap fatal error informationsebastian.huber2-1/+2
Update #3806.
2019-10-28score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()Sebastian Huber1-0/+7
Update #3799.
2019-10-02score: Install timecounter according to qualitySebastian Huber1-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.
2019-10-02score: Remove strange timecounter init stepSebastian Huber1-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.
2019-10-02score: Remove superfluous timecounter membersSebastian Huber1-2/+2
2019-09-11Add rtems_version_control_key_is_valid()Sebastian Huber1-1/+7
2019-08-28score: Add RTEMS_RETURN_ADDRESS()Sebastian Huber1-1/+6
2019-04-12score: Add _ISR_lock_Set_name()Sebastian Huber1-5/+17
Add _ISR_lock_Set_name() to optimize the initialization of zero-initialized locks.
2019-04-11score: Rename _SMP_Get_processor_count()Sebastian Huber1-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.
2019-04-09spmisc01: Use RTEMS_CONSTSebastian Huber2-0/+7
Update #3734.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber1-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.
2019-03-14Remove superfluous <rtems/system.h> includesSebastian Huber1-1/+0
2019-03-14Add rtems_board_support_package()Sebastian Huber1-0/+1
2019-03-07testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns1-2/+4
- Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
2019-03-01score: Fix _Scheduler_EDF_Cancel_job()Sebastian Huber2-0/+19
Remove the priority node only in case it is active.
2019-02-18score: Avoid some deadlocks in _Once()Sebastian Huber2-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.
2019-01-30build: Do not install test programsSebastian Huber1-3/+1
2019-01-18score: Remove unused _ISR_lock_Flash()Sebastian Huber1-2/+0
2019-01-18score: Improve debug support for ISR locksSebastian Huber1-0/+12
Ensure that interrupts are disabled while acquiring an ISR lock.
2019-01-14build: Remove bogus spqreslib_LDADDSebastian Huber1-1/+0
2019-01-14build: Add missing $(LDADD) for dependenciesSebastian Huber1-2/+2
2019-01-09Adjust interrupt mode tests for some CPU portsSebastian Huber2-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.
2019-01-09tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)Sebastian Huber5-5/+5
It is unnecessary to run these test cases with interrupts disabled.
2018-12-21spcxx01: Add test caseSebastian Huber1-0/+10
2018-12-21Add aligned_alloc() and memalign()Sebastian Huber5-0/+99
Ensure that the C++17 aligned new operator works. Close #3666.
2018-12-18score: Fix per-CPU data allocationSebastian Huber2-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.
2018-12-14score: Static Objects_Information initializationSebastian Huber9-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.
2018-12-07score: Remove Objects_Information::maximumSebastian Huber1-34/+38
This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621.
2018-12-07score: Optimize object lookupSebastian Huber1-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.
2018-12-07rtems: Add rtems_scheduler_get_maximum_priority()Sebastian Huber1-1/+25
Update #3636.
2018-12-07tests: Fix rtems_test_spin_until_next_tick()Sebastian Huber1-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.
2018-12-04Capitalize Rtems to RTEMSMarçal Comajoan Cara1-1/+1
2018-12-03Convert CPU counter ticks to/from sbintime_tSebastian Huber1-2/+13
The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
2018-11-12rtems: Remove Modes_ControlSebastian Huber2-4/+2
Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598.
2018-11-12m32c: Remove this targetSebastian Huber2-26/+11
Update #3599.
2018-11-07spconfig02: Check object methods in default configSebastian Huber5-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().
2018-10-29posix: Enable more sptests test cases by defaultSebastian Huber4-96/+35
Update #2514.
2018-10-24config: Modify CONFIGURE_INTERRUPT_STACK_SIZESebastian Huber1-0/+32
Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE to set the default value. Close #3480.
2018-10-10build: Remove local.amSebastian Huber1-1/+0
2018-10-05tests: Use rtems_task_exit()Sebastian Huber82-167/+97
Update #3533.
2018-10-05spthreadlife01: A task exit must not returnSebastian Huber1-3/+3
Update #3533.
2018-10-01rtems: Add rtems_task_exit()Sebastian Huber1-3/+27
Update #3533.
2018-10-01spthreadlife01: Remove superfluous restart caseSebastian Huber1-3/+0
Update #3243.
2018-09-21Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALLSebastian Huber5-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.