summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-07-27psxconfig01: Increase region areaSebastian Huber1-1/+1
This fixes a test failure on 64-bit systems with RTEMS_DEBUG enabled.
2022-04-12testsuites/psxtests/psx[a-f]*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-10bsps/testsuites/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2021-03-27score: Fix task stack initializationSebastian Huber1-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.
2020-10-07rtems: Add RTEMS_PARTITION_ALIGNMENTSebastian Huber1-1/+1
Update #4105.
2020-07-23libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber1-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.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-02-25libio: Add POSIX user environment pointer to TCBSebastian Huber1-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.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber1-4/+4
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2019-12-02Move feature macro before "config.h" includeSebastian Huber1-2/+2
This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
2019-01-10psxconfig01: Fix pre-processor conditionsSebastian Huber1-20/+20
Do not rely on compiler optimizations to throw away empty loops. Close #3673.
2018-10-29posix: Enable more psxtests by defaultSebastian Huber1-1/+6
Update #2514.
2018-08-08CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZESebastian Huber1-0/+17
Make CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE configurable by the user. Update #3434.
2018-08-07tests: Remove CONFIGURE_MAXIMUM_DRIVERSSebastian Huber1-2/+0
This configuration is superfluous in these tests.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-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.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-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.
2017-10-05posix: Implement self-contained POSIX mutexSebastian Huber1-13/+0
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 Huber1-14/+0
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 Huber1-13/+0
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 Huber1-13/+0
POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
2017-08-27psxconfig01/init.c: Fix printf() format warningsJoel Sherrill1-6/+6
2017-02-03Prefix confdefs.h internal def with an underscoreSebastian Huber1-1/+1
Close #2895.
2016-11-23posix: Add self-contained pthread spinlockSebastian Huber1-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.
2016-05-04rtems: Remove task variablesSebastian Huber1-29/+0
Update #2494. Update #2555.
2016-05-04confdefs.h: Fix named object size estimateSebastian Huber1-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().
2016-05-02posix: Simplify message queuesSebastian Huber1-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.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber1-3/+3
2015-03-24psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill1-1/+1
2015-03-17tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill1-4/+10
These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
2014-12-12Add POSIX key value pairs to resource snapshotSebastian Huber1-15/+29
2014-04-04Disable per task variables when SMP is enabledJoel Sherrill1-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.
2014-03-31psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber1-1/+1
2014-03-25tests/psxtests: Use <rtems/test.h>Sebastian Huber1-2/+9
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-03-19posix: Use interal mutex for once implementationSebastian Huber1-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.
2013-08-23posix: Update to the pthread_once changes.Chris Johns1-12/+15
Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
2013-07-22testsuites: Include missing header filesSebastian Huber1-0/+1
2012-12-21libcsupport: Add rtems_resource_snapshot_take()Sebastian Huber1-1/+97
Add rtems_resource_rtems_api, rtems_resource_posix_api, rtems_resource_snapshot, rtems_resource_snapshot_equal(), and rtems_resource_snapshot_check().
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+1
* psxconfig01/init.c: Create floating point tasks.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-61/+229
* psxconfig01/init.c: Create more objects.
2011-12-092011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+1
* psxconfig01/init.c: Fix due to alignment issue.
2011-12-092011-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-0/+293
* psxconfig01/.cvsignore, psxconfig01/Makefile.am, psxconfig01/init.c, psxconfig01/psxconfig01.doc, psxconfig01/psxconfig01.scn: New files. * Makefile.am, configure.ac: Reflect changes above.