summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix for RTEMS_DEBUGSebastian Huber2016-09-081-0/+1
|
* powerpc: Fix SMP context switchSebastian Huber2016-09-081-61/+62
| | | | | | We need the unmodified r4 for get_potential_new_heir. This partially reverts commit 8d785f72d9610fb80a65d7848404f0f7507e026c.
* testsuite: Add libdl/dl05 reloc test.Chris Johns2016-09-0813-1/+1547
|
* libdl: Add ARM C++ relocation record support.Chris Johns2016-09-082-2/+18
| | | | Closes #2767
* stackchk: Fix stack checker thread initializationSebastian Huber2016-09-082-30/+4
| | | | | | | Commit 0fd6f25507fbea5f4892b71b58837cdda17856b4 relaxed the thread begin extension execution environment. This broke the stack check which only partially initialized the stack pattern in its create extension. Move the part of the begin extension to the create extension.
* stackchk: Use a const pattern to checkSebastian Huber2016-09-082-90/+51
|
* stackchk: Remove superfluous internal header fileSebastian Huber2016-09-083-103/+26
|
* bsp/raspberrypi: Rename fileSebastian Huber2016-09-082-1/+1
|
* arm/raspberrypi: use GPU/system timer as clock source.Pavel Pisa2016-09-071-36/+62
| | | | | | It has advantage that it is designed as free-running counter with compare registers and can easily serve for for both timecounter and tick interrupt.
* arm/raspberrypi: correct and extend definitions for GPU timer.Pavel Pisa2016-09-072-7/+16
|
* arm/raspberrypi: basic BCM2836 SMP implementation.Pavel Pisa2016-09-078-4/+230
| | | | | | | | The BSP support is divided to startup/bspsmp_api.c file where functions required by SuperCore are defined and BCM2836 hardware initialization part in startup/bspsmp_init.c. Separation is done to prevent smpfatal08 test build failure.
* arm/raspberrypi: propagate number of configured CPUs into linker script.Pavel Pisa2016-09-072-0/+16
|
* arm/raspberrypi: rename linkcmds to linkcmds.in to allow their configure ↵Pavel Pisa2016-09-073-4/+3
| | | | processing.
* arm/raspberrypi: more definitions of BCM2836 core local peripherals.Pavel Pisa2016-09-071-2/+140
|
* arm/raspberrypi: include definitions of BCM2836 SMP mailboxes.Rohini Kulkarni2016-09-071-0/+26
|
* bsps/arm: reorganize CP15 code to allow clean and invalidate ARMv7 cache by ↵Pavel Pisa2016-09-071-48/+60
| | | | | | | level. New function arm_cp15_cache_invalidate_level and arm_cp15_cache_clean_level can be used to maintain single cache level (instruction or data).
* bsps/arm: remove lock in arm_cp15_set_translation_table_entries().Pavel Pisa2016-09-071-9/+1
| | | | | | | | | | | Protection by rtems_interrupt_disable() is incompatible with SMP build. Actual page table entries manipulation function does not need locking and disabling cache and can be run concurrently even on multiple CPUs as long as changes do not modify same region. If the function is called from more threads/CPUs to modify same region with different mapping options concurrently then there is problem at another level of virtual address space management and has to be solved by mutex or other locking at that level.
* bsps/arm: use defines for cache type register format field.Pavel Pisa2016-09-071-9/+30
| | | | | | The change documents meaning of codes and opens well defined way to use cache type format for cache examination/debugging outside of arm-cp15.h file.
* bsp/atsam: Add SDRAM IS42S16320F-7BL.Christian Mauderer2016-09-073-1/+56
|
* bsp/atsam: Move ram init values to structure.Christian Mauderer2016-09-074-0/+58
|
* score: Remove superfluous SMP debug supportSebastian Huber2016-09-076-34/+2
| | | | This information turned out to be useless in the last couple of months.
* bsp/xilinx-zynq: Avoid duplicate declarationSebastian Huber2016-09-061-1/+1
|
* score: Add _Chain_Initialize_one()Sebastian Huber2016-09-063-0/+51
|
* score: Improve red-black tree debug supportSebastian Huber2016-09-064-3/+19
| | | | Ensure that we extract a node only from the right tree.
* score: Add _RBTree_Initialize_one()Sebastian Huber2016-09-063-0/+46
|
* score: Add missing const qualifiersSebastian Huber2016-09-062-10/+10
|
* capture: Use proper accessor functionsSebastian Huber2016-09-061-4/+4
|
* capture: Workaround to avoid misaligned accessSebastian Huber2016-09-061-1/+1
| | | | | Move the 64-bit field to a not 64-bit aligned structure offset to stop the compiler from generating 64-bit load/store operations.
* libmisc/capture: Remove the reserved _t in the types.Chris Johns2016-09-0111-288/+269
|
* libmisc/capture: Fix the capture engine on SMP.Chris Johns2016-09-0110-743/+975
| | | | | | | | | | | | | | | | | | | | | | | This patches some issues with the capture engine: 1. Check is the engine is open in ctrace commands. 2. Check all record open and appends for overflow. 3. Fix the record open to take the size of user data and not the record header. 4. Use packed structs for data being written to the per cpu buffers. 5. Remove direct struct access to the capture buffers to avoid misaligned accesses. 6. Add support to extract records, no struct access to the capture buffers. 7. Update ctrace to extract records from the capture buffers. 8. Add support to ctrace to always print the task name if it has one. 9. Add support to manage names or the lack of a name. 10. Range of minor fixes. 11. Fix a long standing bug in ctset's handling of args. Closes #2780.
* arm/xilinx_zynq: Start the second core when an SMP build.Chris Johns2016-09-012-0/+22
|
* arm/xilinx_zynq: ensure that cache is cleaned and MMU disabled when ↵Pavel Pisa2016-09-011-0/+35
| | | | | | | | | initialization starts. The u-boot loader enables the MMU plus the data and instruction caches in some versions which results in RTEMS boot failure. Closes #2774.
* libdl: The dl04 is too big for some BSPs. Do not built it.Chris Johns2016-08-303-0/+3
|
* arm/raspberrypi: Mailbox : Extending functionalityMudit Jain2016-08-273-0/+130
| | | | | Adding functionality to get board serial, power state & clock rate
* bsp/atsam: Add missing break statementAlexander Krutwig2016-08-241-0/+1
|
* bsp/atsam: Fix data cache flushAlexander Krutwig2016-08-241-3/+7
|
* libbsp/arm: Fix ARM BSPs missing the bsp_translation_table_end symbol.Chris Johns2016-08-232-0/+2
| | | | Closes #2775.
* arm: Add VFP context validate support for ARMv5Kevin Kirspel2016-08-192-5/+11
|
* bsp/atsam: Add timeout to QSPI send commandAlexander Krutwig2016-08-181-1/+16
|
* psxtests: Adjust sporadic server testsSebastian Huber2016-08-183-99/+64
| | | | | | | | | | | | | According to POSIX priority value returned from pthread_getschedparam() shall be the value specified by the most recent pthread_setschedparam(), pthread_setschedprio(), or pthread_create() call affecting the target thread. Read this as though a temporary lower priority due to the sporadic server policy shall not be visible through pthread_getschedparam(). Thus, use rtems_task_set_priority() to get the current priority of the threads. Use a priority ceiling mutex to prevent sporadic server priority adjustments.
* score: Fix undefined behaviourSebastian Huber2016-08-181-1/+1
| | | | | Cast POSIX error codes to unsigned int to avoid undefined behaviour in case of PTHREAD_BARRIER_SERIAL_THREAD which is -1.
* testsuite: Add libdl/dl04 cache test.Chris Johns2016-08-1510-0/+1549
|
* testsuite: Add libdl/dl03 cache test.Chris Johns2016-08-1510-2/+496
|
* libdl: Fix cache corruption bugs.Chris Johns2016-08-153-30/+86
| | | | | | | | | This patch fixes a number of bugs in the cache when requests are made to read close to the end of the file and the data is copied from the top of the cache buffer to the bottom of the buffer. This was compounded by attempting to read past the end of the file. Closes #2754.
* libdl: Add trace output when reading section headers.Chris Johns2016-08-151-0/+3
|
* libbsp/arm: Add the TTB table to the default MMU set up as read/write.Chris Johns2016-08-151-0/+4
| | | | | | | This lets the table be changed at runtime for dynamic loading and debugger support. Closes #2775.
* score: Improve _RBTree_Insert_inline()Sebastian Huber2016-08-124-2/+74
| | | | Return if the inserted node is the new minimum node or not.
* score: Introduce thread queue surrender operationSebastian Huber2016-08-114-36/+94
| | | | | | This is an optimization for _Thread_queue_Surrender(). It helps to encapsulate the priority boosting in the priority inheritance thread queue operations.
* score: Dismantle _Thread_queue_Do_extract_locked()Sebastian Huber2016-08-111-28/+39
| | | | | | | Dismantle _Thread_queue_Do_extract_locked() into re-usable parts like _Thread_queue_MP_set_callout() and _Thread_queue_Make_ready_again(). Use them in _Thread_queue_Surrender() to propare for a new thread queue surrender operation.
* score: Add _Thread_queue_Surrender()Sebastian Huber2016-08-116-134/+86
| | | | | Add _Thread_queue_Surrender() to unify the mutex surrender procedures which involve a thread queue operation.