summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix task stack initializationSebastian Huber2021-03-271-1/+5
| | | | | | | | | Do not adjust the stack area begin address since this may confuse the stack allocator and result in failed stack frees. Account for the alignment overhead in the stack space size estimate. Check that the stack size is in the expected interval.
* rtems: Add RTEMS_PARTITION_ALIGNMENTSebastian Huber2020-10-071-1/+1
| | | | Update #4105.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-231-1/+1
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* 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
* libio: Add POSIX user environment pointer to TCBSebastian Huber2020-02-251-1/+1
| | | | | | | | | | 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: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-4/+4
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* Move feature macro before "config.h" includeSebastian Huber2019-12-021-2/+2
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* psxconfig01: Fix pre-processor conditionsSebastian Huber2019-01-101-20/+20
| | | | | | Do not rely on compiler optimizations to throw away empty loops. Close #3673.
* posix: Enable more psxtests by defaultSebastian Huber2018-10-291-1/+6
| | | | Update #2514.
* CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZESebastian Huber2018-08-081-0/+17
| | | | | | Make CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE configurable by the user. Update #3434.
* tests: Remove CONFIGURE_MAXIMUM_DRIVERSSebastian Huber2018-08-071-2/+0
| | | | This configuration is superfluous in these tests.
* testsuite/psxtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-24/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* 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.
* 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.
* posix: Implement self-contained POSIX mutexSebastian Huber2017-10-051-13/+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-14/+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-13/+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-13/+0
| | | | | | | | POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
* psxconfig01/init.c: Fix printf() format warningsJoel Sherrill2017-08-271-6/+6
|
* Prefix confdefs.h internal def with an underscoreSebastian Huber2017-02-031-1/+1
| | | | Close #2895.
* posix: Add self-contained pthread spinlockSebastian Huber2016-11-231-13/+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.
* rtems: Remove task variablesSebastian Huber2016-05-041-29/+0
| | | | | Update #2494. Update #2555.
* confdefs.h: Fix named object size estimateSebastian Huber2016-05-041-5/+5
| | | | | | Account for the terminating null character. Use _POSIX_PATH_MAX instead of NAME_MAX according to _POSIX_Semaphore_Manager_initialization() and _POSIX_Message_queue_Manager_initialization().
* posix: Simplify message queuesSebastian Huber2016-05-021-5/+0
| | | | | | | | | | | | The mq_open() function returns a descriptor to a POSIX message queue object identified by a name. This is similar to sem_open(). In contrast to the POSIX semaphore the POSIX message queues use a separate object for the descriptor. This extra object is superfluous, since the object identifier can be used directly for this purpose, just like for the semaphores. Update #2702. Update #2555.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-3/+3
|
* psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill2015-03-241-1/+1
|
* tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill2015-03-171-4/+10
| | | | | These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
* Add POSIX key value pairs to resource snapshotSebastian Huber2014-12-121-15/+29
|
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-041-2/+11
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber2014-03-311-1/+1
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-251-2/+9
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* posix: Use interal mutex for once implementationSebastian Huber2014-03-191-2/+1
| | | | | | Enable pthread_once() for all configurations. The pthread_once() function is one means to initialize POSIX keys. Another use case is the C++ support.
* posix: Update to the pthread_once changes.Chris Johns2013-08-231-12/+15
| | | | | | Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
* testsuites: Include missing header filesSebastian Huber2013-07-221-0/+1
|
* libcsupport: Add rtems_resource_snapshot_take()Sebastian Huber2012-12-212-5/+101
| | | | | | Add rtems_resource_rtems_api, rtems_resource_posix_api, rtems_resource_snapshot, rtems_resource_snapshot_equal(), and rtems_resource_snapshot_check().
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-9/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+5
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-5/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-1/+1
| | | | * psxconfig01/init.c: Create floating point tasks.
* 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-131-61/+229
| | | | * psxconfig01/init.c: Create more objects.
* 2011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-091-1/+1
| | | | * psxconfig01/init.c: Fix due to alignment issue.
* 2011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-095-0/+349
* psxconfig01/.cvsignore, psxconfig01/Makefile.am, psxconfig01/init.c, psxconfig01/psxconfig01.doc, psxconfig01/psxconfig01.scn: New files. * Makefile.am, configure.ac: Reflect changes above.