summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bsp/altera-cyclone-v: Use FDT for clock frequencySebastian Huber2019-02-183-3/+15
|
* bsp/altera-cyclone-v: Make FDT support optionalSebastian Huber2019-02-184-3/+20
|
* psxtests/psxonce01: Fix typoSebastian Huber2019-02-181-2/+2
| | | | Update #3334.
* score: Avoid some deadlocks in _Once()Sebastian Huber2019-02-188-71/+183
| | | | | | | | Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
* libdl/rap: Add the section alloc call after section load was splitChris Johns2019-02-151-0/+6
| | | | Updates #3687
* libdl: Allocator does not unlock and lock memory on loading.Chris Johns2019-02-155-17/+158
| | | | Close #3692
* posix: Remove unused _POSIX_Get_object_body()Sebastian Huber2019-02-121-41/+0
|
* psxtests: Remove bogus fileSebastian Huber2019-02-121-38/+0
| | | | | | This file is unused and makes trouble on Windows. Updates #3638.
* bsps/powerpc: Fix small data area sectionSebastian Huber2019-02-115-20/+26
| | | | | | | | | | Fix small data area in case no fixed size is desired. Rename bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size since this symbol reflects the overall small data area size (including space for libdl). Do not use bsp_section_sbss_size before definition in linker command file. Add new symbols to <bsp/linker-symbols.h>. Update #3687.
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-0955-308/+1643
| | | | | | | | | | | | | | | | | - Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
* libdl: Add support for large memory programsChris Johns2019-02-0916-442/+669
| | | | | | | | | | | | | | | - Add trampolines to support relocs that are out of range on support architectures. - Support not loading separate text/data sections in an object file if the symbol provided in the section is a duplicate. A base image may have pulled in part of an object and another part needs to be dynamically loaded. - Refactor the unresolved handling to scale to hundreds of unresolved symbols when loading large number of files. Updates #3685
* libdl: Add support for trampolinesChris Johns2019-02-0934-146/+2088
| | | | | | | | | | | | | - Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The dl09 test requires enough memory so modules are outside the relative branch instruction ranges for the architecture. Updates #3685
* libdl: Fix the support for constructors and desctructors.Chris Johns2019-02-097-60/+145
| | | | | | | - Fix the handling of pending objects. - Add a constructor flags in objects to track then being called. Closes #2921
* libtest/dl08: Add a test for archives.Chris Johns2019-02-0920-1/+1011
| | | | | | | - Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
* libtests/dl02: Update the rtl-shell path. More verbose test.Chris Johns2019-02-091-9/+12
| | | | Updates #3686
* libtests/dl02: Update the rtl-shell path.Chris Johns2019-02-091-0/+1
| | | | Updates #3686
* libdl: Add symbol searching and loading from archives.Chris Johns2019-02-0916-437/+2175
| | | | | | | | | | | | | | - Load archive symbol tables to support searching of archives for symbols. - Search archive symbols and load the object file that contains the symbol. - Search the global and archives until all remaining unresolved symbols are not found. Group the loaded object files in the pending queue. - Run the object file and loaded dependents as a group before adding to the main object list. - Remove orphaned object files after references are removed. Updates #3686
* powerpc/psim: Increase the psim memory to 256MChris Johns2019-02-093-4/+9
| | | | | | This allows test dl09 to run and test PowePC backend trampoline support. Updates #3685
* libdl: Fix dlerror non-conformanceChris Johns2019-02-091-1/+4
| | | | Closes #3298
* libmisc: Fix rtems_print_bufferChris Johns2019-02-091-1/+1
| | | | Closes #3684
* griscv: add additional cpu configurationsJiri Gaisler2019-02-085-1/+37
| | | | | * Also switch default config to imafd as the C extension is not supported for code coverage
* score: Fix _User_extensions_Thread_switch() (SMP)Sebastian Huber2019-02-081-3/+11
| | | | | We have to read the first node again once we obtained the lock since it may have aready changed.
* bsps/irq: Fix interrupt server init (SMP)Sebastian Huber2019-02-071-4/+7
|
* score: Fix plain priority thread queues (SMP)Sebastian Huber2019-02-072-0/+71
| | | | We must add/remove the priority queue to the FIFO of priority queues.
* bsps/arm: Fix generic timer frequencySebastian Huber2019-02-071-1/+1
| | | | Update #3456.
* fs: Add struct dirent::d_type supportSebastian Huber2019-02-056-31/+91
|
* riscv: Fix misaligned access in context validateSebastian Huber2019-02-021-1/+1
|
* build: Do not install test programsSebastian Huber2019-01-3012-33/+11
|
* record: Add enum value for each eventSebastian Huber2019-01-305-23/+1788
| | | | Update #3665.
* Add low level event recording supportSebastian Huber2019-01-2922-0/+3137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add low level event recording infrastructure for system and user defined events. The infrastructure is able to record high frequency events such as * SMP lock acquire/release, * interrupt entry/exit, * thread switches, * UMA zone allocate/free, and * Ethernet packet input/output, etc. It allows post-mortem analysis in fatal error handlers, e.g. the last events are in the record buffer, the newest event overwrites the oldest event. It is possible to detect record buffer overflows for consumers that expect a continuous stream of events, e.g. to display the system state in real-time. The implementation supports high-end SMP machines (more than 1GHz processor frequency, more than four processors). Add a new API instead. The implementation uses per-processor data structures and no atomic read-modify-write operations. It is uses per-processor ring buffers to record the events. The CPU counter is used to get the time of events. It is combined with periodic uptime events to synchronize it with CLOCK_REALTIME. The existing capture engine tries to solve this problem also, but its performance is not good enough for high-end production systems. The main issues are the variable-size buffers and the use of SMP locks for synchronization. To fix this, the API would change significantly. Update #3665.
* m68k: Avoid _Addresses_Add_offset()Sebastian Huber2019-01-291-4/+2
| | | | | This prevents a cyclic dependency between <rtems/score/cpu.h> and <rtems/score/address.h>.
* samples/pppd: Use less memory hungry configurationSebastian Huber2019-01-291-5/+4
| | | | This avoids link-time failures on some low memory BSPs.
* psxtmtests: Fix format warningsSebastian Huber2019-01-284-36/+36
| | | | Update #3384.
* bsps/powerpc: Fix warningsSebastian Huber2019-01-252-5/+3
|
* bsps/powerpc: Fix 64-bit issues in assembler filesSebastian Huber2019-01-254-10/+34
| | | | | | | We have to be careful with instructions which operate explicitly on words or doublewords. Update #3082.
* libmisc: Fix swapped parameters and enable floating point usage.Maksim E. Kozlov2019-01-231-1/+1
|
* riscv: add griscv bspJiri Gaisler2019-01-2224-6/+1430
| | | | Update #3678.
* grlib: make memory coherency cpu-independentJiri Gaisler2019-01-222-1/+6
| | | | Update #3678.
* grlib: use cpu-independent routines for uncached accessJiri Gaisler2019-01-2210-71/+145
| | | | Update #3678.
* grlib: use rtems_interrupt_handler_install()Jiri Gaisler2019-01-224-8/+15
| | | | Update #3678.
* grlib: make apbuart driver independent of bspJiri Gaisler2019-01-223-17/+17
| | | | Update #3678.
* grlib: Move source filesSebastian Huber2019-01-2269-203/+72
| | | | Update #3678.
* grlib: Move header filesSebastian Huber2019-01-22140-309/+315
| | | | Update #3678.
* bsps/arm: Remove unused bsp_stack_irq_sizeSebastian Huber2019-01-216-8/+0
| | | | Update #3459.
* score: Remove unused _ISR_lock_Flash()Sebastian Huber2019-01-182-33/+0
|
* score: Improve debug support for ISR locksSebastian Huber2019-01-183-17/+51
| | | | Ensure that interrupts are disabled while acquiring an ISR lock.
* score: Avoid internal API and use ISR lockSebastian Huber2019-01-181-9/+9
|
* score: Simplify _Addresses_Is_aligned()Sebastian Huber2019-01-181-6/+2
| | | | | The CPU_ALIGNMENT must not be zero, this is also checked via a static assertion. Fix formatting.
* bsps/i386/shared/cache/cache.c: Make compileJoel Sherrill2019-01-161-0/+29
|
* m68k/include/rtems/score/cpu.h: Add include of address.hJoel Sherrill2019-01-141-0/+2
|