summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix/src/exec*: Remove all variants already in NewlibJoel Sherrill2016-01-198-220/+7
| | | | | | | | The RTEMS build of Newlib includes implementations of all exec*() variants. They rely on the _execve() support method. RTEMS already had this and it returned ENOSYS. There is no functional change. closes #2537.
* score: Fix simple timecounter supportSebastian Huber2016-01-194-17/+67
| | | | Update #2502.
* taskcreate.c: Add method name to comment to be clearerJoel Sherrill2016-01-181-9/+4
|
* sem.h: Delete junk in commentJoel Sherrill2016-01-181-3/+1
|
* ratemon.h: Fix commentsJoel Sherrill2016-01-181-7/+6
|
* posix: Remove clock_getenable_attr() and clock_setenable_attr()Joel Sherrill2016-01-183-82/+1
| | | | | | | | | These were not implemented and it does not appear that they were ever officially part of an approved POSIX standard. They were likely part of the Draft 8 of POSIX 1003.1b that RTEMS pthreads were initially based upon. closes #2531.
* Chase Newlib sys/types.h / sys/select.h changesNick Withers2016-01-1812-24/+19
|
* arm: Honor cache for Cortex-M7 supportSebastian Huber2016-01-151-2/+11
|
* arm: Accept Cortex-M7 multilibSebastian Huber2016-01-151-1/+1
|
* libblock: Fix ramdisk::free_at_delete_request initSebastian Huber2016-01-151-1/+1
| | | | | Avoid uninitialized ramdisk::free_at_delete_request. The error was visible in sporadic libtests/block01 failures.
* powerpc: Fix alignment for AltiVec multilibsSebastian Huber2016-01-121-2/+6
|
* score: Statically initialize TOD handlerSebastian Huber2016-01-125-35/+18
|
* score: Simplify _Thread_Start()Sebastian Huber2016-01-115-33/+25
|
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-1120-166/+210
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
* rtems: Fix warningSebastian Huber2016-01-081-1/+0
|
* score: Avoid dead code in global constructionSebastian Huber2016-01-084-20/+22
| | | | Update #2514.
* score: Add fatal errors for NULL entry init tasksSebastian Huber2016-01-084-7/+26
| | | | | | This simplifies the global construction. Update #2514.
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-052-32/+1
| | | | The permission is check by the upper layer.
* Remove H8300 portJoel Sherrill2016-01-0415-1876/+1
| | | | updates #2452.
* Remove M32R architectureJoel Sherrill2016-01-0421-2273/+4
| | | | updates #2446.
* score: Fix watchdog insertSebastian Huber2016-01-041-4/+12
| | | | | | | | | Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to a wrong iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2507.
* api: Remove deprecated NotepadsAun-Ali Zaidi2015-12-2416-402/+13
| | | | | | | | | | | | | | | | | | | | | | | Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
* score: Fix watchdog removalSebastian Huber2015-12-211-1/+10
| | | | | | | | | Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to an incomplete iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2501.
* score: Avoid dependency on bcopy()Sebastian Huber2015-12-151-0/+1
|
* libmisc: Include missing header file, fix warningsNick Withers2015-12-152-6/+7
|
* rtems: Delete empty functionSebastian Huber2015-12-153-18/+0
|
* posix: Store unblocked signalsSebastian Huber2015-12-158-26/+24
| | | | | Store the unblock signals to exploit the zero-initialization of the thread control block.
* score: Initialize thread control to zeroSebastian Huber2015-12-154-67/+13
| | | | This reduces the code size of the thread initialization.
* score: Help GCC to inline a functionSebastian Huber2015-12-141-1/+1
|
* score: Untangle thread actionsSebastian Huber2015-12-118-20/+32
| | | | | | | Remove the thread action handler parameter from _Thread_Action_initialize() and instead set it later in _Thread_Add_post_switch_action(). This avoids a dependency on the thread action handler via the thread initialization.
* Use linker set for system initializationSebastian Huber2015-12-115-42/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make rtems_initialize_data_structures(), rtems_initialize_before_drivers() and rtems_initialize_device_drivers() static. Rename rtems_initialize_start_multitasking() to rtems_initialize_executive() and call the registered system initialization handlers in this function. Add system initialization API available via #include <rtems/sysinit.h>. Update the documentation accordingly. This is no functional change, only the method to call the existing initialization routines changes. Instead of direct function calls a table of function pointers contained in the new RTEMS system initialization linker set is used. This table looks like this (the actual addresses depend on the target). nm *.exe | grep _Linker | sort 0201a2d0 D _Linker_set__Sysinit_begin 0201a2d0 D _Linker_set__Sysinit_bsp_work_area_initialize 0201a2d4 D _Linker_set__Sysinit_bsp_start 0201a2d8 D _Linker_set__Sysinit_rtems_initialize_data_structures 0201a2dc D _Linker_set__Sysinit_bsp_libc_init 0201a2e0 D _Linker_set__Sysinit_rtems_initialize_before_drivers 0201a2e4 D _Linker_set__Sysinit_bsp_predriver_hook 0201a2e8 D _Linker_set__Sysinit_rtems_initialize_device_drivers 0201a2ec D _Linker_set__Sysinit_bsp_postdriver_hook 0201a2f0 D _Linker_set__Sysinit_end Add test sptests/spsysinit01. Update #2408.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* sparc: Simplify _CPU_Get_current_per_CPU_control()Sebastian Huber2015-12-101-1/+1
| | | | | | | Drop the superfluous parenthesis since this confuses the C++ compiler of some GCC versions. See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064
* Add RTEMS linker setsSebastian Huber2015-12-083-0/+101
| | | | Update #2408.
* score: Statically initialize system stateSebastian Huber2015-12-082-18/+1
| | | | Update #2408.
* score: Delete unused API extensionsSebastian Huber2015-12-083-57/+2
| | | | Update #2408.
* score: Statically initialize API extensionsSebastian Huber2015-12-083-19/+1
| | | | Update #2408.
* Remove <rtems/debug.h>Sebastian Huber2015-12-079-159/+2
| | | | Close #2477.
* Delete _Region_Debug_Walk()Sebastian Huber2015-12-075-35/+0
| | | | | | | The expensive heap walks are superfluous due to the heap protection enabled via RTEMS_DEBUG. Update #2477.
* Delete unused declarations and defineSebastian Huber2015-11-271-5/+1
|
* Delete empty libc_init()Sebastian Huber2015-11-273-47/+1
|
* Require __getreent()Sebastian Huber2015-11-255-52/+5
| | | | | This function is used by Newlib since 2013-07-09 (Git commit 9b51cd8c6b9cdd067d9648a7ab952884019c56a5).
* Fix _Assert() statementSebastian Huber2015-11-252-2/+2
|
* posix: Require struct _pthread_cleanup_contextSebastian Huber2015-11-247-175/+1
| | | | | This structure is available in Newlib since 2013-11-29 (Git commit a534dfd26e765047621acd0eda656ded886e7108).
* untar: do not exit with error when created directory already exists.Pavel Pisa2015-11-232-2/+46
| | | | | | | | | | | | | | The problem exists for both RTEMS untar implementations and their variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load(). If filesystem object already exists at extracted directory path then if it is directory, creation is ignored. Attempt to delete/unlink object and make directory is tried for other cases. This simple approach problem reported in ticket fixes #2413. Behavior follows GNU tar and BSD tar practice for directories but much more work is required to achieve full semantics of the full featured tar implementation still.
* Provide dummy <sys/priority.h>Sebastian Huber2015-11-181-1/+40
| | | | Required by new network stack.
* Import latest <sys/ttycom.h> from FreeBSDSebastian Huber2015-11-171-57/+62
| | | | Required by new network stack.
* Merge with latest <sys/sockio.h> from FreeBSDSebastian Huber2015-11-171-5/+53
| | | | Required by new network stack.
* Import latest <sys/filio.h> from FreeBSDSebastian Huber2015-11-172-17/+13
| | | | Required by new network stack.
* sparc: Fix context switch on SMPDaniel Cederman2015-11-161-0/+3
| | | | | | | | | | | | | | | | We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. With this patch the write to PSR is divided into two steps. We first update the current window pointer and then we restore the status registers and enable traps. This allows us to move the first write to PSR to be before the write to WIM, as there is now no risk that we get an interrupt where the CWP and WIM would be inconsistent. We only need to make sure that we do not use any of the non-global registers or instructions that affects CWP for three instructions after the write. In the earlier code the non-global %o1 register was used right after the write to PSR, which required the use of three nop:s.