summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Synchronize kernel <sys/time.h> with FreeBSDrrs2019-11-181-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate parts of this commit: This commit brings in a new refactored TCP stack called Rack. Rack includes the following features: - A different SACK processing scheme (the old sack structures are not used). - RACK (Recent acknowledgment) where counting dup-acks is no longer done instead time is used to knwo when to retransmit. (see the I-D) - TLP (Tail Loss Probe) where we will probe for tail-losses to attempt to try not to take a retransmit time-out. (see the I-D) - Burst mitigation using TCPHTPS - PRR (partial rate reduction) see the RFC. Once built into your kernel, you can select this stack by either socket option with the name of the stack is "rack" or by setting the global sysctl so the default is rack. Note that any connection that does not support SACK will be kicked back to the "default" base FreeBSD stack (currently known as "default"). To build this into your kernel you will need to enable in your kernel: makeoptions WITH_EXTRA_TCP_STACKS=1 options TCPHPTS Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D15525
* riscv: preliminarily support for libdlHesham Almatary2019-11-124-2/+581
| | | | Support for targets compiled with -fno-pic and -mno-relax
* heap: Simplify _Heap_Block_allocate()Sebastian Huber2019-11-051-24/+24
| | | | Determine the next block only once and use it throughout.
* kill: Fix warningSebastian Huber2019-11-051-1/+1
| | | | Include right header file for kill().
* rtems-5: Improve heap fatal error informationsebastian.huber2019-11-057-14/+95
| | | | Update #3806.
* arm: Add defines for small pages MMUSebastian Huber2019-10-311-0/+57
|
* linkersets: Avoid use of zero-length arraySebastian Huber2019-10-281-12/+22
| | | | Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.
* config: Avoid zero-length arraySebastian Huber2019-10-281-2/+4
| | | | | | Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. Close #3799.
* score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()Sebastian Huber2019-10-281-0/+19
| | | | Update #3799.
* libdebugger/arm: Clean up the building on arm variants.Chris Johns2019-10-191-29/+21
|
* libtest: Add more action eventsSebastian Huber2019-10-116-24/+28
| | | | | | This allows more control over the initialization and finalization run. Update #3199.
* libtest: Do all output in test runnerSebastian Huber2019-10-112-23/+117
| | | | | | | | This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
* termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill2019-10-087-46/+346
| | | | | | | | | | | | | | 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.
* cpukit/headers.am: RegenerateJoel Sherrill2019-10-041-0/+1
|
* score: Install timecounter according to qualitySebastian Huber2019-10-021-0/+2
| | | | | | 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-021-1/+1
| | | | | 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-022-4/+10
|
* Revert "record: Add wrappers for malloc() functions"Sebastian Huber2019-10-022-150/+0
| | | | | | It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
* record: Add wrappers for malloc() functionsSebastian Huber2019-10-012-0/+150
| | | | | | | | | | 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.
* dosfs: Fix format with media block sizes > 512Sebastian Huber2019-10-011-47/+46
|
* _kernel_time.h: Compatibility to future NewlibSebastian Huber2019-10-011-0/+10
|
* Correct initial POSIX signals maskJoel Sherrill2019-09-241-5/+48
| | | | | | | | | | | | + 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-201-1/+23
| | | | | | | | | 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.
* Add rtems_version_control_key_is_valid()Sebastian Huber2019-09-111-2/+17
|
* 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.
* 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-304-102/+1467
| | | | | | Add system events for memory allocation/free. Update #3665.
* record: Add system eventsSebastian Huber2019-08-306-53/+149
| | | | | | | 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-295-137/+1576
| | | | | | | | | | 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-281-1/+12
|
* record: Add variants for critical sectionsSebastian Huber2019-08-281-3/+43
| | | | Update #3665.
* record: Introduce <rtems/recordserver.h>Sebastian Huber2019-08-284-34/+81
| | | | | | | 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-285-29/+32
| | | | | | | | | | | 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
|
* dev/sc16is752: Write to right registerSebastian Huber2019-08-261-1/+1
|
* record: Add rtems_record_client_set_handler()Sebastian Huber2019-08-171-0/+8
|
* record: Pass bintime to client handlersSebastian Huber2019-08-172-10/+29
| | | | This is a minor optimization.
* record: Simplify client visit()Sebastian Huber2019-08-171-14/+24
|
* record: Remove superfluous castSebastian Huber2019-08-171-1/+1
|