summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libtest: Add more action eventsSebastian Huber2019-10-116-24/+28
| | | | | | This allows more control over the initialization and finalization run. Update #3199.
* ttest01: Add test outputs all test casesMikail Yayla2019-10-1115-0/+2880
|
* ttest01: Add more test casesSebastian Huber2019-10-1117-3/+4237
| | | | Update #3199.
* libtest: Do all output in test runnerSebastian Huber2019-10-113-23/+121
| | | | | | | | This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
* ttest01: Adjust SPDX-License-IdentifierSebastian Huber2019-10-111-2/+7
| | | | Update #3199.
* Add CC-BY-SA-4.0 license textSebastian Huber2019-10-111-0/+428
| | | | | | | | | | | | Retrieved from: https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt This license is inteded for code which is shared with the documentation, e.g code examples. Such code should be dual licensed BSD-2-Clause or CC-BY-SA-4.0 with the following license identifier: SPDX-License-Identifier: BSD-2-Clause OR CC-BY-SA-4.0
* Add myself to the MAINTAINERSHesham Almatary2019-10-101-0/+1
|
* termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill2019-10-0814-47/+634
| | | | | | | | | | | | | | This patch adds the ability for termios to send SIGINTR on receipt of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on a termios channel. Importantly, this patch does not alter the default behavior or force POSIX signal code in just because termios is used. The application must explicitly enable the POSIX behavior of generating a signal upon receipt of these characters. This is discussed in the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html Closes #3800.
* termios04/init.c: Remove dead copy of change_iflag()Joel Sherrill2019-10-041-17/+0
|
* cpukit/headers.am: RegenerateJoel Sherrill2019-10-041-0/+1
|
* score: Install timecounter according to qualitySebastian Huber2019-10-022-22/+81
| | | | | | This makes it possible to install higher quality timecounter in plug-and-play systems and helps to override the clock driver provided timecounter in some test scenarios.
* score: Remove strange timecounter init stepSebastian Huber2019-10-022-7/+7
| | | | | The double call of the timecounter get method was added to FreeBSD in 2002 without a comment. It is not clear why this is needed.
* score: Remove superfluous timecounter membersSebastian Huber2019-10-023-6/+12
|
* Revert "record: Add wrappers for malloc() functions"Sebastian Huber2019-10-025-642/+230
| | | | | | It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
* libtests/ttest01: Fix typosSebastian Huber2019-10-021-3/+3
|
* bsp/erc32: Improve pseudo-SMP supportSebastian Huber2019-10-012-2/+85
| | | | | Add support for _SMP_Send_message() to the own processor. This is required by the smpmulticast01 test program.
* record: Add wrappers for malloc() functionsSebastian Huber2019-10-015-230/+642
| | | | | | | | | | Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit events. The wrappers can be selected during link time via the GNU ld --wrap option. Update #3665.
* MAINTAINERS: Remove Martin GalvanSebastian Huber2019-10-011-1/+0
| | | | | Remove Martin Galvan due to inactivity from the Write After Approval list.
* dosfs: Fix format with media block sizes > 512Sebastian Huber2019-10-011-47/+46
|
* libtests/record01: Fix test failureSebastian Huber2019-10-011-2/+45
| | | | Update #3665.
* psxtests/psxualarm: Fix test failureSebastian Huber2019-10-011-0/+8
| | | | Update #3794.
* _kernel_time.h: Compatibility to future NewlibSebastian Huber2019-10-011-0/+10
|
* Correct initial POSIX signals maskJoel Sherrill2019-09-2414-5/+561
| | | | | | | | | | | | + Modify POSIX thread create extension to ensure expected initial signal mask is provided to system threads, initial tasks and threads, and inheritied by tasks and threads. + Adds psxsignal07 to verify functionality when using a POSIX Initialization thread and POSIX threads. + Adds psxsignal08 to verify functionality when using a Classic API Initialization task and Classic API tasks. Closes #3794.
* rtems: Add rtems_interrupt_server_entry_move()Sebastian Huber2019-09-202-1/+40
| | | | | | | | | The use case for this function is the libbsd. In FreeBSD, the interrupt setup and binding to a processor is done in two steps. Message based interrupts like PCIe MSI and MSI-X interrupts can be implemented through interrupt server entries. They are setup at the default interrupt server and may optionally move to an interrupt server bound to a specific processor.
* bsps/beagle: register i2c device at initializationVijay Kumar Banerjee2019-09-193-13/+24
|
* Add rtems_version_control_key_is_valid()Sebastian Huber2019-09-112-3/+24
|
* Add psxfenv01 test to psxtestsVaibhav Gupta2019-09-105-2/+173
| | | | | | Note that this test requires a functional fenv implementation. Some targets have multilib variants where the fenv implementation is not 100% passing.
* rtems: Make rtems_version_control_key() saferSebastian Huber2019-09-092-4/+7
| | | | | Return the empty string instead of a NULL pointer if no version key is available.
* record: Allow tracing of ISR disable/enableSebastian Huber2019-09-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directly use the CPU port API in boot_card() to allow tracing of the higher level interrupt disable/enable routines, e.g. _ISR_Local_disable() and _ISR_Local_enable(). Currently, there is no configuration option to enable this. Below is a patch. It may be used to investigate some nasty low level bugs in the system. Update #3665. diff --git a/cpukit/include/rtems/score/isrlevel.h b/cpukit/include/rtems/score/isrlevel.h index c42451d010..46d361ddc2 100644 --- a/cpukit/include/rtems/score/isrlevel.h +++ b/cpukit/include/rtems/score/isrlevel.h @@ -40,6 +40,10 @@ extern "C" { */ typedef uint32_t ISR_Level; +uint32_t rtems_record_interrupt_disable( void ); + +void rtems_record_interrupt_enable( uint32_t level ); + /** * @brief Disables interrupts on this processor. * @@ -56,8 +60,7 @@ typedef uint32_t ISR_Level; */ #define _ISR_Local_disable( _level ) \ do { \ - _CPU_ISR_Disable( _level ); \ - RTEMS_COMPILER_MEMORY_BARRIER(); \ + _level = rtems_record_interrupt_disable(); \ } while (0) /** @@ -72,10 +75,7 @@ typedef uint32_t ISR_Level; * _ISR_Local_disable(). */ #define _ISR_Local_enable( _level ) \ - do { \ - RTEMS_COMPILER_MEMORY_BARRIER(); \ - _CPU_ISR_Enable( _level ); \ - } while (0) + rtems_record_interrupt_enable( _level ) /** * @brief Temporarily enables interrupts on this processor. @@ -98,9 +98,8 @@ typedef uint32_t ISR_Level; */ #define _ISR_Local_flash( _level ) \ do { \ - RTEMS_COMPILER_MEMORY_BARRIER(); \ - _CPU_ISR_Flash( _level ); \ - RTEMS_COMPILER_MEMORY_BARRIER(); \ + rtems_record_interrupt_enable( _level ); \ + _level = rtems_record_interrupt_disable(); \ } while (0) /
* Add a parallel bootstrap command.Chris Johns2019-09-051-0/+246
|
* arm: Fix default exception handlerSebastian Huber2019-09-031-2/+2
| | | | Keep the stack pointer properly 8-byte aligned.
* record: Add system eventsSebastian Huber2019-09-022-7/+7
| | | | Update #3665.
* record: Add system eventsSebastian Huber2019-08-305-102/+1489
| | | | | | Add system events for memory allocation/free. Update #3665.
* record: Add system eventsSebastian Huber2019-08-307-55/+152
| | | | | | | Add system events to identify the target system. Add system events to transfer blocks of memory and register sets. Update #3665.
* record: Initialize records earlierSebastian Huber2019-08-301-4/+4
| | | | | | | | The _Record_Initialize() function depends only initialized read-only data. Call it as the first initialization step to allow tracing of the complete system initialization. Update #3665.
* record: Simplify configurationSebastian Huber2019-08-303-8/+11
| | | | Update #3665.
* record: Introduce _Record_Drain()Sebastian Huber2019-08-302-36/+51
| | | | | | This allows its use in crash dump procedures. Update #3665.
* record: Add more system eventsSebastian Huber2019-08-297-212/+1838
| | | | | | | | | | Reduce the system dependencies to allow tracing of very low level functions, for example the interrupt disable/enable. Introduce general purpose RTEMS_RECORD_CALLER and RTEMS_RECORD_LINE events. Update #3665.
* score: Add RTEMS_RETURN_ADDRESS()Sebastian Huber2019-08-282-2/+18
|
* record: Add variants for critical sectionsSebastian Huber2019-08-282-5/+48
| | | | Update #3665.
* record: Introduce <rtems/recordserver.h>Sebastian Huber2019-08-285-34/+82
| | | | | | | This helps to get rid of the <rtems/rtems/tasks.h> dependency in <rtems/record.h>. Update #3665.
* record: Use BSS section instead of per-CPU dataSebastian Huber2019-08-286-30/+35
| | | | | | | | | | | The .rtemsrwset section is used for the per-CPU data. This section has loadable content. Place the ring buffers in the BSS section to avoid large executable image sizes. Not using the per-CPU data makes it possible to initialize the record support earlier. Update #3665.
* record: Add data size to clientSebastian Huber2019-08-272-0/+9
| | | | | | | This is necessary to get the thread names properly on 32-bit and 64-bit targets. Update #3665.
* record: Fix thread names on 64-bit targetsSebastian Huber2019-08-272-2/+8
| | | | | | Also fixes the thread names on signed char targets. Update #3665.
* record: Improve overflow handlingSebastian Huber2019-08-262-25/+63
| | | | | Signal the accumulated item overflow count with the time of the first new item.
* record: Fix off by one errorSebastian Huber2019-08-261-1/+1
|
* dev/sc16is752: Reduce RX FIFO trigger levelSebastian Huber2019-08-261-2/+2
| | | | This may help to avoid character loss.
* dev/sc16is752: Set TLS to zeroSebastian Huber2019-08-261-0/+14
| | | | Ensures that the FCR values are used.
* dev/sc16is752: Do FIFO reset separatelySebastian Huber2019-08-261-0/+5
|
* dev/sc16is752: Enable enhanced func earlySebastian Huber2019-08-261-1/+2
|