summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Fix MPCI initializationSebastian Huber2020-01-021-26/+0
| | | | Update #2408.
* sppercpudata01: Test PER_CPU_DATA_OFFSET()Sebastian Huber2019-12-201-1/+4
| | | | | Make sure PER_CPU_DATA_OFFSET() is tested also in uniprocessor configurations.
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-1911-11/+11
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* score: Remove _Workspace_Allocate_or_fatal_error()Sebastian Huber2019-12-135-64/+0
| | | | | | This function is unused. Update #3735.
* config: Add _MPCI_ConfigurationSebastian Huber2019-12-131-8/+1
| | | | | | | Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
* config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber2019-12-134-4/+6
| | | | | | | | Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
* Add TOD Hooks to allow BSP to take action when TOD is setJoel Sherrill2019-12-115-0/+377
| | | | | | | | | | | | Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of applications in the virtualized environments to have a single consistent TOD.
* pipe: Use condition variablesSebastian Huber2019-12-112-69/+7
| | | | | | | Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
* rtems: Simplify semaphore configurationSebastian Huber2019-12-111-1/+0
| | | | | | | | | | | | | | | The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization options, e.g. POSIX mutexes, this is no longer justified. Memory constrained applications should use the self-contained synchronization objects. Remove the CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an impact on applications which use SMP and a large number of scheduler instances. Update #3833.
* clock: Simplify driver initializationSebastian Huber2019-12-112-3/+4
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* libtest: Change expected pass state stringSebastian Huber2019-12-058-8/+8
| | | | Use separator character '_' for all test states.
* testsuites: Remove rtems_test_pause*()Sebastian Huber2019-12-0424-74/+3
| | | | | | | | | | | | | The rtems_test_pause() and rtems_test_pause_and_screen_number() macros had different implementations depending on the RTEMS_TEST_NO_PAUSE define. This define was defined to 1 by default. The user was able to change this via the undocumented --disable-test-no-pause configure command line option. Pausing tests and waiting for user input contradicts the goal of having automated test runs. Remove this feature. Update #3818.
* Move feature macro before "config.h" includeSebastian Huber2019-12-021-3/+3
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* 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.