Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GRETH: Interrupt Handler Uses Wrong Events | Christian Spindeldreier | 2017-01-12 | 1 | -1/+1 |
| | | | | closes #2796. | ||||
* | Remove texinfo format documentation. Replaced by Sphinx formatted documentation. | Joel Sherrill | 2017-01-11 | 1 | -2/+2 |
| | | | | closes #2812. | ||||
* | Rename *.s to *.S | Sebastian Huber | 2016-12-20 | 2 | -1/+1 |
| | | | | | | Consistently use *.S for assembler files. Close #2701. | ||||
* | bsp/atsam: Use standard XDMA throughout | Sebastian Huber | 2016-12-20 | 8 | -32/+6 |
| | |||||
* | bsp/atsam: Use standard XDMA for QSPI support | Sebastian Huber | 2016-12-16 | 1 | -9/+1 |
| | |||||
* | bsp/atsam: Add SC16IS752 support | Sebastian Huber | 2016-12-16 | 4 | -0/+158 |
| | |||||
* | bsp/atsam: Move interrupt setup to PIO_Configure() | Sebastian Huber | 2016-12-16 | 2 | -25/+21 |
| | |||||
* | bsp/atsam: System initialization for PIO IRQs | Sebastian Huber | 2016-12-16 | 3 | -124/+127 |
| | |||||
* | bsp/atsamv: Move XDMAD instance out of SPI driver | Sebastian Huber | 2016-12-16 | 3 | -89/+44 |
| | | | | Use system initialization for XDMAD. Remove support for polling. | ||||
* | bsp/atsam: Move XDMA IRQ handler to XDMA module | Sebastian Huber | 2016-12-15 | 4 | -242/+203 |
| | | | | | The XDMA is shared by all DMA capable modules. Placing the XDMA interrupt handler into the SPI module is wrong. | ||||
* | bsp/atsam: Use _Assert() instead of assert() | Sebastian Huber | 2016-12-15 | 1 | -66/+66 |
| | |||||
* | bsp/atsam: Use inline functions for XDMA access | Sebastian Huber | 2016-12-15 | 3 | -609/+508 |
| | |||||
* | bsp/atsam: Optimize SPI interrupt | Sebastian Huber | 2016-12-14 | 1 | -40/+36 |
| | |||||
* | bsp/atsam: Simplify SPI transfer status | Sebastian Huber | 2016-12-14 | 1 | -7/+9 |
| | |||||
* | bsp/atsam: Reduce context switches for SPI transf | Sebastian Huber | 2016-12-14 | 1 | -99/+107 |
| | |||||
* | bsp/atsam: Optimize SPI DMA transfer setup | Sebastian Huber | 2016-12-14 | 1 | -73/+48 |
| | |||||
* | bsp/atsam: Simplify SPI DMA transfer setup | Sebastian Huber | 2016-12-14 | 1 | -70/+38 |
| | |||||
* | bsp/atsam: Simplify SPI DMA initialization | Sebastian Huber | 2016-12-14 | 1 | -56/+23 |
| | |||||
* | bsp/atsam: Simplify SPI interrupt handler | Sebastian Huber | 2016-12-14 | 1 | -7/+1 |
| | |||||
* | bsp/atsam: Remove superfluous irq field | Sebastian Huber | 2016-12-14 | 1 | -8/+6 |
| | |||||
* | bsp/atsam: Remove duplicate SPI register field | Sebastian Huber | 2016-12-14 | 1 | -4/+3 |
| | |||||
* | bsp/atsam: Simplify SPI initialization | Sebastian Huber | 2016-12-14 | 3 | -36/+23 |
| | |||||
* | bsp/atsam: Hide details of SPI driver | Sebastian Huber | 2016-12-14 | 2 | -31/+24 |
| | |||||
* | bsp/atsam: Align SPI API with PIO_Configure() | Sebastian Huber | 2016-12-14 | 3 | -27/+44 |
| | |||||
* | bsp/atsam: Avoid to power on/off the SPI module | Sebastian Huber | 2016-12-14 | 2 | -22/+9 |
| | |||||
* | bsp/atsam: Speed up SPI DMA transfer start | Sebastian Huber | 2016-12-14 | 2 | -9/+10 |
| | |||||
* | bsp/atsam: Optimize transfer setup checks | Sebastian Huber | 2016-12-14 | 1 | -34/+32 |
| | |||||
* | bsp/atsam: No timeout for SPI DMA transfers | Sebastian Huber | 2016-12-14 | 1 | -7/+3 |
| | |||||
* | libdl: Add C++ exception support to loaded modules. | Chris Johns | 2016-12-14 | 1 | -4/+0 |
| | | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767. | ||||
* | Rename is_internal to always_set_to_false | Sebastian Huber | 2016-12-12 | 17 | -17/+17 |
| | | | | Update #2825. | ||||
* | score: Remove fatal is internal indicator | Sebastian Huber | 2016-12-09 | 1 | -2/+0 |
| | | | | | | | | | 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. | ||||
* | testsuite: Add test states to the testsuit configuration files. | Chris Johns | 2016-12-07 | 56 | -510/+514 |
| | | | | | | | | | | | | | | | | 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: Fix ARM and PowerPC context initialization | Sebastian Huber | 2016-12-02 | 1 | -0/+1 |
| | | | | Update #2751. | ||||
* | libdebugger: Build for ARM's without a CP15. | Chris Johns | 2016-12-02 | 6 | -1/+25 |
| | |||||
* | Remove sparc/sis BSP. | Joel Sherrill | 2016-11-29 | 9 | -104/+0 |
| | | | | closes #2810. | ||||
* | arm/zynq: Wait for the UART TX FIFO to empty on reset. | Chris Johns | 2016-11-29 | 3 | -0/+24 |
| | |||||
* | sparc: Optimize _ISR_Handler() | Sebastian Huber | 2016-11-28 | 6 | -81/+107 |
| | | | | | | 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. | ||||
* | or1k: Avoid multiple iterations over cache | Martin Erik Werner | 2016-11-28 | 1 | -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 manager | Martin Erik Werner | 2016-11-28 | 1 | -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 manager | Martin Erik Werner | 2016-11-28 | 2 | -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.c | Martin Erik Werner | 2016-11-28 | 1 | -14/+25 |
| | | | | | | | * Fix indentation of variable declarations. * Change commented-out asm -> __asm__ to meet c99 standard if uncommented. | ||||
* | or1k: Add functions for entire cache operations | Martin Erik Werner | 2016-11-28 | 1 | -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 | ||||
* | bsps/arm: Add Cortex-M DWT CPU counter | Sebastian Huber | 2016-11-24 | 3 | -1/+57 |
| | |||||
* | score: Fix interrupt profiling | Sebastian Huber | 2016-11-24 | 1 | -20/+13 |
| | | | | | | | | | | 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 e6500 | Sebastian Huber | 2016-11-24 | 1 | -1/+3 |
| | |||||
* | bsp/lpc23xx_tli800: Disable tar01 test | Sebastian Huber | 2016-11-23 | 1 | -0/+1 |
| | | | | Close #2824. | ||||
* | powerpc/mpc5xx: Rename CPU_Interrupt_frame | Sebastian Huber | 2016-11-21 | 2 | -4/+4 |
| | | | | | | The MPC5XX support uses a legacy interrupt/exception infrastructure. Close #2819. | ||||
* | powerpc: Use Per_CPU_Control::isr_dispatch_disable | Sebastian Huber | 2016-11-18 | 2 | -20/+66 |
| | | | | Update #2751. | ||||
* | sparc: Use Per_CPU_Control::isr_dispatch_disable | Sebastian Huber | 2016-11-18 | 1 | -5/+5 |
| | | | | Update #2751. | ||||
* | score: Allow interrupts during thread dispatch | Sebastian Huber | 2016-11-18 | 2 | -19/+29 |
| | | | | | | | | | Use a processor-specific interrupt frame during context switches in case the executing thread is longer executes on the processor and the heir thread is about to start execution. During this period we must not use a thread stack for interrupt processing. Update #2809. |