Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | posix: Fix pthread_spin_unlock() error status | Sebastian Huber | 2016-05-25 | 2 | -5/+11 |
| | | | | Update #2719. | ||||
* | posix: Fix return states of pthread_kill() | Sebastian Huber | 2016-05-17 | 1 | -6/+2 |
| | | | | | | POSIX mandates that an error code is returned and not -1 plus errno. Update #2715. | ||||
* | posix: Fix return status of pthread_cancel() | Sebastian Huber | 2016-05-17 | 1 | -2/+2 |
| | | | | | | | POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713. | ||||
* | CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checked | Joel Sherrill | 2015-10-27 | 1 | -2/+2 |
| | | | | closes #2431. | ||||
* | psxualarm: Avoid endless signal handling | Sebastian Huber | 2015-05-19 | 1 | -2/+2 |
| | | | | Increase the ualarm timer interval to avoid endless signal handling. | ||||
* | Add test assertion for allocator mutex being unlocked | Joel Sherrill | 2015-04-14 | 2 | -19/+0 |
| | | | | | | | | | | The Allocator Mutex should not be locked outside a tested service call. In an SMP test or heavily multithreaded test, this is possible since another thread could have the lock for an extended period of time but this is not the norm for the tests. updates 2319. | ||||
* | psxconfig01/init.c: Correct pointer/integer size warning | Joel Sherrill | 2015-03-24 | 1 | -1/+1 |
| | |||||
* | psxtests/psx15/init.c: Correct printf() warning | Joel Sherrill | 2015-03-24 | 1 | -1/+3 |
| | |||||
* | testsuites/psxtests/psxsignal03/init.c: Fix line wrap | Joel Sherrill | 2015-03-22 | 1 | -1/+5 |
| | |||||
* | Replace www.rtems.com with www.rtems.org | Sebastian Huber | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | tests misc: Disable deprecated method usage warning when intentional | Joel Sherrill | 2015-03-17 | 1 | -4/+10 |
| | | | | | These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted. | ||||
* | libcsupport: Delete superfluous _gettimeofday() | Sebastian Huber | 2015-03-10 | 1 | -7/+0 |
| | |||||
* | sysconf: Add _SC_NPROCESSORS_(CONF|ONLN) | Sebastian Huber | 2015-03-09 | 1 | -0/+9 |
| | |||||
* | psxtests/psxclock01: use clock() and CLOCKS_PER_SEC | Gedare Bloom | 2015-03-04 | 6 | -1/+95 |
| | | | | Closes #2182 | ||||
* | psxtests/psx05: Adjust test case | Sebastian Huber | 2015-02-26 | 1 | -2/+2 |
| | | | | Update #2170. | ||||
* | psxtests: add string param to printf. closes #2241 | Gedare Bloom | 2015-02-23 | 2 | -2/+2 |
| | |||||
* | IMFS: Implement variable length node names | Sebastian Huber | 2015-02-15 | 1 | -1/+5 |
| | | | | This reduces the average node size and adds more flexibility. | ||||
* | psxhdrs: Reorganize into subdirectories per .h file and rename files | Joel Sherrill | 2015-02-12 | 142 | -454/+136 |
| | | | | | This is a better organization and makes it clearer which file is testing which method from which header file. | ||||
* | psxhdrs: Remove test of pthread_attr_[gs]et_cputime | Joel Sherrill | 2015-02-12 | 3 | -84/+1 |
| | | | | | | | These methods are no longer in the tree and the API tests should have been removed. closes 1981 | ||||
* | psxhdrs: Add tests for <sys/socket.h> API compliance | Joel Sherrill | 2015-02-12 | 19 | -1/+620 |
| | |||||
* | IMFS: Add fine grained configuration | Sebastian Huber | 2015-02-12 | 5 | -0/+10 |
| | | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME. | ||||
* | Filesystem: Simplify FIFO and pipe configuration | Sebastian Huber | 2015-02-09 | 2 | -2/+0 |
| | |||||
* | IMFS: Replace node union with individual struct | Sebastian Huber | 2015-01-27 | 4 | -112/+12 |
| | | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER(). | ||||
* | psx07: Add missing parameter to printf() call | Joel Sherrill | 2015-01-23 | 1 | -1/+1 |
| | | | | | | | Close 2241. Conflicts: testsuites/psxtests/psx07/init.c | ||||
* | psxtests/psx07: Fix printf() statement | Sebastian Huber | 2015-01-23 | 1 | -1/+1 |
| | | | | Close #2240. | ||||
* | Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM | Sebastian Huber | 2014-12-16 | 15 | -15/+0 |
| | | | | This define was superfluous, undocumented and used inconsistently. | ||||
* | Add POSIX key value pairs to resource snapshot | Sebastian Huber | 2014-12-12 | 1 | -15/+29 |
| | |||||
* | posix: Delete key/value if value is set to NULL | Sebastian Huber | 2014-12-12 | 1 | -0/+19 |
| | |||||
* | Update bug report URL | Sebastian Huber | 2014-12-05 | 1 | -1/+1 |
| | |||||
* | Delete or rename MIN/MAX macros and defines | Sebastian Huber | 2014-11-21 | 2 | -10/+10 |
| | | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros. | ||||
* | libcsupport: Implement getgroups() | Sebastian Huber | 2014-11-20 | 2 | -8/+60 |
| | |||||
* | libcsupport: Use POSIX key for getgrent() | Sebastian Huber | 2014-11-20 | 2 | -0/+4 |
| | |||||
* | libcsupport: Minimal /etc/passwd and /etc/group | Sebastian Huber | 2014-11-20 | 2 | -106/+30 |
| | | | | | Create a minimal /etc/passwd and /etc/group with user root and group root only with no passwords. | ||||
* | testsuites: Avoid clock driver | Sebastian Huber | 2014-10-14 | 2 | -2/+2 |
| | |||||
* | score: Rework global construction | Sebastian Huber | 2014-10-13 | 10 | -1/+209 |
| | | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation. | ||||
* | posix: Add auto initializaton for rwlock | Sebastian Huber | 2014-10-08 | 1 | -0/+37 |
| | |||||
* | psxtests/psxonce01: Use test extension | Sebastian Huber | 2014-09-10 | 1 | -0/+2 |
| | |||||
* | tests: Rework interrupt critical tests | Sebastian Huber | 2014-09-10 | 1 | -23/+19 |
| | | | | | | | | | This avoids test durations of more than one hour on fast targets, since fast targets can count a lot during one clock tick period, so the minor loop iteration count was quite high. Estimate now the test body duration to iterate only through the interesting time window. Add and use interrupt_critical_section_test(). | ||||
* | Add _TOD_Adjust to SCORE TOD Handler. | Joel Sherrill | 2014-07-23 | 2 | -4/+18 |
| | | | | | | | | This lays the proper structure for doing future work on time adjustment algorithms. Any TOD adjustments should be requested at the API level and performed at the SCORE level. Additionally updated a test. | ||||
* | testsuite: Add a per BSP test check for tests not to build. | Chris Johns | 2014-05-05 | 1 | -8/+8 |
| | | | | | | | | Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build. | ||||
* | psxtests/psxkey02: Test for proper error case | Sebastian Huber | 2014-04-07 | 2 | -37/+14 |
| | |||||
* | Disable per task variables when SMP is enabled | Joel Sherrill | 2014-04-04 | 1 | -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. | ||||
* | score: Thread life cycle re-implementation | Sebastian Huber | 2014-03-31 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors. | ||||
* | score: Fix thread restart extensions context | Sebastian Huber | 2014-03-31 | 1 | -3/+84 |
| | | | | | Run the thread restart extensions in the context of the restarted thread. Run them with thread dispatching enabled. | ||||
* | tests/fatal: Fix test names | Sebastian Huber | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | psxtests/psxconfig01: Fix for POSIX keys config | Sebastian Huber | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | privateenv: Use POSIX keys instead of task variables. | Christian Mauderer | 2014-03-27 | 2 | -0/+4 |
| | |||||
* | tests: Produce proper begin/end messages | Sebastian Huber | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | tests/psxtests: Use <rtems/test.h> | Sebastian Huber | 2014-03-25 | 131 | -190/+543 |
| | |||||
* | tests: Use rtems_status_text() | Sebastian Huber | 2014-03-25 | 1 | -29/+1 |
| |