summaryrefslogtreecommitdiff
path: root/testsuites/sptests/spsysinit01 (follow)
AgeCommit message (Collapse)Author
2020-02-26config: Initialize IO drivers on demandSebastian Huber
2020-02-25libio: Add POSIX user environment pointer to TCBSebastian Huber
The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
2020-02-25config: Bring back RTEMS 4.11 configuration tableSebastian Huber
This improves API backward compatibility of RTEMS 5.1 to previous versions.
2020-02-04config: Add CONFIGURE_VERBOSE_SYSTEM_INITIALIZATIONSebastian Huber
Update #3861.
2020-02-04sysinit: Add RTEMS_SYSINIT_ORDER_LAST_BUT_[1-9]Sebastian Huber
Update #3838.
2020-02-04bsps: Rework work area initializationSebastian Huber
The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
2020-01-02rtems: Fix MPCI initializationSebastian Huber
Update #2408.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2018-12-14score: Static Objects_Information initializationSebastian Huber
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 Huber
This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621.
2018-10-29posix: Enable more sptests test cases by defaultSebastian Huber
Update #2514.
2018-06-15Add RTEMS_SYSINIT_CPU_COUNTERSebastian Huber
Add initialization step for the CPU counter support. Update #3456.
2018-04-10testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-12-06libio: Use API mutexSebastian Huber
2017-12-04score: Use self-contained API mutexSebastian Huber
Use a self-contained recursive mutex for API_Mutex_Control. The API mutexes are protected against asynchronous thread cancellation. Add dedicated mutexes for libatomic and TOD. Close #2629. Close #2630.
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-28tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber
Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-10-11score: Remove CPU_set_ControlSebastian Huber
Use Processor_mask instead. Update #2514.
2017-10-05posix: Implement self-contained POSIX mutexSebastian Huber
POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
2017-10-05posix: Implement self-contained POSIX condvarSebastian Huber
POSIX condition variables are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3113.
2017-10-05posix: Implement self-contained POSIX rwlocksSebastian Huber
POSIX rwlocks are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3115.
2017-10-05posix: Implement self-contained POSIX barriersSebastian Huber
POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
2017-01-26score: Fix user extensions orderSebastian Huber
Use forward and reverse order for initial and dynamic extensions. This is the behaviour documented in the C Users Guide. Change thread terminate order to backward to be in line with the thread delete order. Change fatal error order to forward to ensure that initial extensions are called first due the peculiar execution context of fatal error extensions, see _Terminate() documentation. Update #2692.
2017-01-13posix: shared memory supportGedare Bloom
Add POSIX shared memory manager (Shm). Includes a hook-based approach for the backing memory storage that defaults to the Workspace, and a test is provided using the heap. A test is also provided for the basic use of mmap'ing a shared memory object. This test currently fails at the mmap stage due to no support for mmap.
2016-11-23posix: Add self-contained pthread spinlockSebastian Huber
Turn pthread_spinlock_t into a self-contained object. On uni-processor configurations, interrupts are disabled in the lock/trylock operations and the previous interrupt status is restored in the corresponding unlock operations. On SMP configurations, a ticket lock is a acquired and released in addition. The self-contained pthread_spinlock_t object is defined by Newlib in <sys/_pthreadtypes.h>. typedef struct { struct _Ticket_lock_Control _lock; __uint32_t _interrupt_state; } pthread_spinlock_t; This implementation is simple and efficient. However, this test case of the Linux Test Project would fail due to call of printf() and sleep() during spin lock ownership: https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c There is only limited support for profiling on SMP configurations. Delete CORE spinlock implementation. Update #2674.
2016-06-20score: Refine system initialization orderSebastian Huber
2016-06-20sptests/spsysinit01: Move begin of test messageSebastian Huber
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-04-21sptests/spsysinit01: Fix warningSebastian Huber
2016-03-14score: Use ISR lock for IO driver registrationSebastian Huber
Create implementation header file. Update #2555.
2016-03-01sptests/spsysinit01: Fix for RTEMS_DEBUGSebastian Huber
Update #2408.
2016-02-03Use linker set for POSIX User Threads initSebastian Huber
Update #2408.
2016-02-03Use linker set for Classic User Tasks initSebastian Huber
Update #2408.
2016-02-03Use linker set for MPCI initializationSebastian Huber
Update #2408.
2016-02-03Use linker set for libio initializationSebastian Huber
Update #2408.
2016-02-03Use linker set for root file system initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Keys initializationSebastian Huber
Update #2408.
2016-02-03Optional CPU Set Handler initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Spinlock initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX RWLock initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Barrier initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Timer initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Semaphore initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Message Queue initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Mutex initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Condition Variable initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Cleanup initializationSebastian Huber
Update #2408.
2016-02-03Optional POSIX Threads initializationSebastian Huber
Update #2408.