summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* powerpc: Use wrtee for e6500 multilibSebastian Huber2015-10-021-0/+17
| | | | This reduces the code size.
* SMP: Fix and optimize thread dispatchingSebastian Huber2015-09-285-70/+66
| | | | | | | | According to the C11 and C++11 memory models only a read-modify-write operation guarantees that we read the last value written in modification order. Avoid the sequential consistent thread fence and instead use the inter-processor interrupt to set the thread dispatch necessary indicator.
* SMP: Simplify thread lock operationsSebastian Huber2015-09-281-27/+25
|
* score: Use uintptr_t for atomic pointer operationsSebastian Huber2015-09-262-71/+69
| | | | Do not obfuscate the standard API.
* score: Fix atomic compare exchangeSebastian Huber2015-09-252-5/+21
|
* ARMv7M: Improve exception handler routine and add comments on SP selectionMartin Galvan2015-09-231-11/+21
| | | | | | | | | This patch adds a brief description of how context state is saved into the SP on exception entry, and makes a few changes to _ARMV7M_Exception_default in order to make it a bit more efficient. I also removed the unused 'v7mfsz' input parameter. This should apply over Sudarshan's patch.
* Fix exception handler for supporting FPUSudarshan Rajagopalan2015-09-231-4/+4
|
* score: Fix resource count for self-contained mutexSebastian Huber2015-09-141-2/+3
|
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-21/+16
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Close #2417.