summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* score: Fix race condition on SMPSebastian Huber2015-11-123-41/+67
| | | | | | We must ensure that the Thread_Control::Wait information update is visible to the target thread before we update its wait flags, otherwise we may return out of date events or a wrong status.
* Fix interrupt epilogue for ARMv7-AR and PowerPCSebastian Huber2015-11-121-0/+27
|
* Introduce general purpose system server eventSebastian Huber2015-11-122-4/+5
| | | | | Use this event for the interrupt server to avoid conflicts with application events used by interrupt handlers.
* sapi: Add rtems_chain_get_first_unprotected()Sebastian Huber2015-11-051-0/+10
| | | | Close #2459.
* score: Fix warningSebastian Huber2015-11-041-1/+1
| | | | Close #2454.
* libblock: Print block sizes and countSebastian Huber2015-11-023-0/+22
|
* libblock: Avoid NULL pointer accessSebastian Huber2015-11-021-1/+3
|
* ada: Add missing includeJan Sommer2015-10-301-0/+1
| | | | | Include stackimpl.h otherwise PTHREAD_MINIMUM_STACK_SIZE cannot be evaluated.
* powerpc: Add FSL cache definesSebastian Huber2015-10-281-0/+10
|
* CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill2015-10-271-0/+14
| | | | closes #2431.
* basdefs.h: Add and use RTEMS_PACKEDSebastian Huber2015-10-261-2/+5
|
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-26114-237/+276
|
* basdefs.h: Add and use RTEMS_DEPRECATEDSebastian Huber2015-10-269-18/+20
|
* basdefs.h: Add RTEMS_PURESebastian Huber2015-10-261-3/+5
|
* basedefs.h: Add and use RTEMS_NO_RETURNSebastian Huber2015-10-2630-41/+43
|
* basedefs.h: Add compiler attributesSebastian Huber2015-10-261-1/+40
|
* RFS: Fix resource leakSebastian Huber2015-10-261-0/+2
| | | | Close #2433.
* libfdt: Merge into librtemscpuSebastian Huber2015-10-193-15/+2
| | | | This allows BSPs to use this library.
* libfdt: Initial importSebastian Huber2015-10-1619-0/+4219
| | | | | | | | | | | | | | Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
* libstdthreads: Add C11 threadsSebastian Huber2015-10-149-75/+53
|
* libstdthreads: Import from FreeBSDSebastian Huber2015-10-145-0/+455
|
* epiphany: Delete CPU_UNROLL_ENQUEUE_PRIORITYSebastian Huber2015-10-071-21/+0
|
* SMP: Optimize ticket lock implementationSebastian Huber2015-10-021-1/+1
| | | | | | | | This reverts the relevant part of commit da06fe948c0878057e5f563ebd3dfe40c0f1b0d2. The acquire/release order is superfluous for the next ticket increment. The mutual exclusion is guaranteed by the acquire load from and release store to the next serving atomic variable.