summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsysinit01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* spsysinit01: Fix sem_open() callSebastian Huber2023-03-141-1/+1
| | | | | | | The O_CREAT flag requires a mode and initial value as third and fourth argument. Close #4878.
* spsysinit01: Account for use of .noinit sectionSebastian Huber2022-07-181-2/+2
| | | | | | | The objects control blocks cannot be used to check the pre-initialization state since they are allocated in a .noinit section. Update #4678.
* bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* Add system initialization step for target hashSebastian Huber2021-02-261-0/+16
| | | | Update #4267.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* config: Initialize IO drivers on demandSebastian Huber2020-02-261-0/+2
|
* libio: Add POSIX user environment pointer to TCBSebastian Huber2020-02-251-1/+40
| | | | | | | | | | 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.
* config: Bring back RTEMS 4.11 configuration tableSebastian Huber2020-02-251-0/+21
| | | | | This improves API backward compatibility of RTEMS 5.1 to previous versions.
* config: Add CONFIGURE_VERBOSE_SYSTEM_INITIALIZATIONSebastian Huber2020-02-041-2/+4
| | | | Update #3861.
* sysinit: Add RTEMS_SYSINIT_ORDER_LAST_BUT_[1-9]Sebastian Huber2020-02-041-0/+18
| | | | Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-041-6/+6
| | | | | | | | | | | | | | | | | | | | 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.
* rtems: Fix MPCI initializationSebastian Huber2020-01-021-26/+0
| | | | Update #2408.
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-1/+1
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* score: Static Objects_Information initializationSebastian Huber2018-12-141-41/+316
| | | | | | | | | | | 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.
* posix: Enable more sptests test cases by defaultSebastian Huber2018-10-291-24/+11
| | | | Update #2514.
* Add RTEMS_SYSINIT_CPU_COUNTERSebastian Huber2018-06-151-1/+17
| | | | | | Add initialization step for the CPU counter support. Update #3456.
* testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* libio: Use API mutexSebastian Huber2017-12-061-2/+2
|
* score: Use self-contained API mutexSebastian Huber2017-12-041-2/+2
| | | | | | | | | | 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.
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-281-1/+0
| | | | | Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - 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.
* score: Remove CPU_set_ControlSebastian Huber2017-10-111-13/+0
| | | | | | Use Processor_mask instead. Update #2514.
* posix: Implement self-contained POSIX mutexSebastian Huber2017-10-051-15/+0
| | | | | | | | POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
* posix: Implement self-contained POSIX condvarSebastian Huber2017-10-051-17/+0
| | | | | | | | POSIX condition variables are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3113.
* posix: Implement self-contained POSIX rwlocksSebastian Huber2017-10-051-16/+0
| | | | | | | | POSIX rwlocks are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3115.
* posix: Implement self-contained POSIX barriersSebastian Huber2017-10-051-16/+0
| | | | | | | | POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
* score: Fix user extensions orderSebastian Huber2017-01-261-2/+4
| | | | | | | | | | | 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.
* posix: shared memory supportGedare Bloom2017-01-131-0/+17
| | | | | | | | | 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.
* posix: Add self-contained pthread spinlockSebastian Huber2016-11-231-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* score: Refine system initialization orderSebastian Huber2016-06-201-0/+36
|
* sptests/spsysinit01: Move begin of test messageSebastian Huber2016-06-201-2/+7
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-3/+5
| | | | | | | | | | | | | | | | | | | 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.
* sptests/spsysinit01: Fix warningSebastian Huber2016-04-211-2/+2
|
* score: Use ISR lock for IO driver registrationSebastian Huber2016-03-141-0/+1
| | | | | | Create implementation header file. Update #2555.
* sptests/spsysinit01: Fix for RTEMS_DEBUGSebastian Huber2016-03-011-0/+8
| | | | Update #2408.
* Use linker set for POSIX User Threads initSebastian Huber2016-02-031-0/+31
| | | | Update #2408.
* Use linker set for Classic User Tasks initSebastian Huber2016-02-031-0/+14
| | | | Update #2408.
* Use linker set for MPCI initializationSebastian Huber2016-02-031-13/+0
| | | | Update #2408.
* Use linker set for libio initializationSebastian Huber2016-02-031-14/+24
| | | | Update #2408.
* Use linker set for root file system initializationSebastian Huber2016-02-031-0/+24
| | | | Update #2408.
* Optional POSIX Keys initializationSebastian Huber2016-02-031-0/+17
| | | | Update #2408.
* Optional CPU Set Handler initializationSebastian Huber2016-02-031-0/+13
| | | | Update #2408.
* Optional POSIX Spinlock initializationSebastian Huber2016-02-031-0/+17
| | | | Update #2408.
* Optional POSIX RWLock initializationSebastian Huber2016-02-031-0/+17
| | | | Update #2408.
* Optional POSIX Barrier initializationSebastian Huber2016-02-031-0/+17
| | | | Update #2408.
* Optional POSIX Timer initializationSebastian Huber2016-02-031-0/+17
| | | | Update #2408.