summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bsp/atsam: Optimize transfer setup checksSebastian Huber2016-12-141-34/+32
|
* bsp/atsam: No timeout for SPI DMA transfersSebastian Huber2016-12-141-7/+3
|
* libdl: Add C++ exception support to loaded modules.Chris Johns2016-12-1439-1434/+2522
| | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
* score: Prevent thread_dispatch_disable_level < 0.Christian Mauderer2016-12-121-0/+2
|
* libblock: Fix for RTEMS_DEBUGSebastian Huber2016-12-121-0/+1
|
* Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILEDSebastian Huber2016-12-125-6/+8
| | | | Update #2825.
* Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILEDSebastian Huber2016-12-125-6/+8
| | | | Update #2825.
* libio: Ensure proper std file descriptorsSebastian Huber2016-12-121-9/+8
|
* Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILEDSebastian Huber2016-12-124-5/+8
| | | | Update #2825.
* INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILEDSebastian Huber2016-12-125-6/+8
| | | | Update #2825.
* score: Introduce _Internal_error()Sebastian Huber2016-12-1218-55/+42
|
* Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILEDSebastian Huber2016-12-125-7/+13
| | | | Update #2825.
* Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILEDSebastian Huber2016-12-125-7/+13
| | | | Update #2825.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-1244-71/+75
| | | | Update #2825.
* score: Remove fatal is internal indicatorSebastian Huber2016-12-0965-225/+59
| | | | | | | | | The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
* cdtest: Print proper begin/end of test messagesSebastian Huber2016-12-092-28/+56
|
* cdtest: Add std::runtime_error() test caseChris Johns2016-12-091-15/+26
| | | | Update #2830.
* sptimecounter02: Add plot scriptSebastian Huber2016-12-081-0/+42
|
* sptimecounter02: Update screen fileSebastian Huber2016-12-081-32/+986
| | | | Data obtained on QorIQ T4240 running with 1500MHz.
* smplock01: Fix plot scriptsSebastian Huber2016-12-072-2/+4
|
* testsuite: Add test states to the testsuit configuration files.Chris Johns2016-12-0765-635/+746
| | | | | | | | | | | | | | | | Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
* score: Simplify linker set APISebastian Huber2016-12-063-53/+145
| | | | | | | | | | | | | | | | | Resurrect RTEMS_LINKER_SET_BEGIN() and RTEMS_LINKER_SET_END(). Add new macros RTEMS_LINKER_SET_ITEM_COUNT(), RTEMS_LINKER_SET_IS_EMPTY(), and RTEMS_LINKER_SET_FOREACH(). Remove confusing RTEMS_LINKER_SET_ASSIGN_BEGIN() and RTEMS_LINKER_SET_ASSIGN_END(). Fix RTEMS_LINKER_SET_SIZE() to return the size in characters as specified by the documentation. Update #2408. Update #2790.
* smplock01: Fix fairness plot scriptSebastian Huber2016-12-051-1/+1
|
* smpthreadlife01: Fix due to robust thread dispatchSebastian Huber2016-12-021-13/+19
| | | | Update #2811.
* score: Fix ARM and PowerPC context initializationSebastian Huber2016-12-023-0/+6
| | | | Update #2751.
* rtems: Use _Thread_Dispatch_direct()Sebastian Huber2016-12-022-2/+2
| | | | Update #2797.
* rtems: Fix rtems_scheduler_add_processor()Sebastian Huber2016-12-021-4/+1
| | | | | | Fix thread dispatch profiling of rtems_scheduler_add_processor(). Update #2797.
* score: Initialize thread queue context earlySebastian Huber2016-12-0216-16/+26
| | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire().
* posix: Fix typoSebastian Huber2016-12-021-1/+1
|
* score: Fix debug thread queue context initSebastian Huber2016-12-022-2/+4
| | | | | On ARM Thumb we may have function addresses ending with 0x7f, if we are lucky.
* posix: Fix fall back spinlock implementationSebastian Huber2016-12-022-10/+7
| | | | Update #2674.
* libdebugger: Build for ARM's without a CP15.Chris Johns2016-12-027-41/+139
|
* Remove sparc/sis BSP.Joel Sherrill2016-11-299-104/+0
| | | | closes #2810.
* cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns2016-11-2930-0/+6991
|
* arm/zynq: Wait for the UART TX FIFO to empty on reset.Chris Johns2016-11-293-0/+24
|
* sparc: Optimize _ISR_Handler()Sebastian Huber2016-11-287-81/+110
| | | | | | Use _Thread_Do_dispatch() instead of _Thread_Dispatch(). Restore the PSR[EF] state of the interrupted context via new system call syscall_irqdis_fp in case floating-point support is enabled.
* score: Fix thread queue context initializationSebastian Huber2016-11-2810-10/+18
| | | | | Initialize the thread queue context with invalid data in debug configurations to catch missing set up steps.
* or1k: Avoid multiple iterations over cacheMartin Erik Werner2016-11-281-0/+27
| | | | | | | | | Previously, if the cache range operations were called with a range that was larger than the cache size, this would lead to multiple iterations over the cache, which is unnecessary. Limit this so that if the range is larger than the cache size, the operations will only iterate over the whole cache once.
* or1k: Remove secondary functions in cache managerMartin Erik Werner2016-11-281-56/+34
| | | | | | | | | | Move the code of the _CPU_OR1K_Cache_{enable,disable}_* functions into the equivalent exported _CPU_cache_{enable,disable}_* functions instead, and then delete them, in order to reduce the code indirection and aid readability. This does not touch the currently unused prefetch, writeback, and lock functions.
* or1k: Avoid excessive ISR toggle in cache managerMartin Erik Werner2016-11-282-44/+123
| | | | | | | | | | | | | | | | | Previously _ISR_Local_{disable,enable}() was executed twice for each cache line operation, and since operations over the entire cache were implemented by calling the single-line operations in a loop, this made those operations rather costly. Fix the double-toggle by calling _OR1K_mtspr() directly, and removing the now-unused corresponding _CPU_OR1K_Cache_* functions. Fix the entire-operations by moving the ISR toggle outside of the loop, and by calling _OR1K_mtspr() directly instead of the single-line operations. Also implement range functions, since otherwise the cache manager falls back on looping over the single-line operations.
* or1k: Indent & comment fix in cache.cMartin Erik Werner2016-11-281-14/+25
| | | | | | | * Fix indentation of variable declarations. * Change commented-out asm -> __asm__ to meet c99 standard if uncommented.
* or1k: Add functions for entire cache operationsMartin Erik Werner2016-11-281-3/+42
| | | | | | | | | | | | | | | Add functions for flushing and invalidating whole cache. Since we don't have system calls that can operate on anything more than a single cache line, these simply retrieves the cache size and iterates over the full size, invalidating each line. The current implementation assumes that there's only one level of cache. These changes were contributed by Antmicro under contract by ÅAC Microtec AB. Close #2602
* libblock: Fix for RTEMS_DEBUGSebastian Huber2016-11-241-0/+2
|
* bsps/arm: Add Cortex-M DWT CPU counterSebastian Huber2016-11-243-1/+57
|
* arm: Fix _CPU_ISR_Is_enabled() for ARMv7-MSebastian Huber2016-11-241-1/+1
| | | | Update #2811.
* score: Optimize _Thread_queue_Enqueue()Sebastian Huber2016-11-2420-28/+117
| | | | | | | | | Move thread state for _Thread_queue_Enqueue() to the thread queue context. This reduces the parameter count of _Thread_queue_Enqueue() from five to four (ARM for example has only four function parameter registers). Since the thread state is used after several function calls inside _Thread_queue_Enqueue() this parameter was saved on the stack previously.
* score: Fix interrupt profilingSebastian Huber2016-11-243-25/+33
| | | | | | | | | | Callers of _Thread_Do_dispatch() must have a valid Per_CPU_Control::Stats::thread_dispatch_disabled_instant. Call _Profiling_Outer_most_interrupt_entry_and_exit() with the interrupt stack to not exceed Per_CPU_Control::Interrupt_frame. Update #2751.
* powerpc: Fix interrupt profiling for e6500Sebastian Huber2016-11-241-1/+3
|
* posix: Fix typoSebastian Huber2016-11-231-1/+1
| | | | Update #2674.
* score: Explicitly define the fatal source numbersSebastian Huber2016-11-231-11/+11
| | | | Update #2825.