Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__ | Joel Sherrill | 2017-01-11 | 17 | -123/+70 |
| | |||||
* | Add support for posix_devctl() | Joel Sherrill | 2017-01-11 | 3 | -1/+76 |
| | |||||
* | posix: Fix alarm() in SMP configurations | Sebastian Huber | 2017-01-11 | 1 | -2/+0 |
| | | | | | Avoid to change the CPU of the watchdog right in the middle of the critical section. This would corrupt the watchdog lock states. | ||||
* | score: Improve SMP lock debug support | Sebastian Huber | 2017-01-11 | 4 | -7/+18 |
| | | | | | The CPU index starts with zero. Increment it by one, to allow global SMP locks to reside in the BSS section. | ||||
* | score: Optimize thread state values | Sebastian Huber | 2017-01-11 | 1 | -48/+73 |
| | |||||
* | score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER | Sebastian Huber | 2017-01-11 | 16 | -49/+43 |
| | | | | | Add thread state bit to identify thread queues that are embedded in an object with identifier. | ||||
* | score: Delete STATES_WAITING_FOR_BUFFER | Sebastian Huber | 2017-01-11 | 3 | -22/+1 |
| | |||||
* | score: Format thread state defines | Sebastian Huber | 2017-01-11 | 1 | -27/+27 |
| | | | | Specify all 32-bits in a thread state define. | ||||
* | sys/event.h: Update to FreeBSD head 2017-01-02 | Sebastian Huber | 2017-01-09 | 1 | -29/+31 |
| | |||||
* | score: Relax <sys/lock.h> static assertions | Sebastian Huber | 2016-12-23 | 5 | -9/+9 |
| | | | | Only require that the Newlib defined structure is big enough. | ||||
* | libio: Use CONSOLE_DEVICE_NAME | Sebastian Huber | 2016-12-23 | 1 | -3/+4 |
| | |||||
* | Clarify simple timecounter documentation | Sebastian Huber | 2016-12-21 | 1 | -13/+21 |
| | |||||
* | JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTION | Sebastian Huber | 2016-12-20 | 3 | -1/+50 |
| | | | | Update #2844. | ||||
* | JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTION | Sebastian Huber | 2016-12-20 | 2 | -0/+11 |
| | | | | | | Add IO control to force a garbage collection. Update #2844. | ||||
* | JFFS2: Add RTEMS_JFFS2_GET_INFO | Sebastian Huber | 2016-12-20 | 2 | -5/+171 |
| | | | | | | | Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem instance information. Update #2844. | ||||
* | dev: Add NXP SC16IS752 serial device driver | Alexander Krutwig | 2016-12-16 | 6 | -0/+875 |
| | | | | Update #2841. | ||||
* | termios: Add TERMIOS_IRQ_SERVER_DRIVEN | Alexander Krutwig | 2016-12-16 | 2 | -5/+8 |
| | | | | | | | | | | Add a new interrupt server driven Termios mode (TERMIOS_IRQ_DRIVEN). This mode is identical to the interrupt driven mode except that a mutex is used for device level locking. The intended use case for this mode are device drivers that use the interrupt server, e.g. SPI or I2C connected devices. Update #2839. | ||||
* | termios: Use mutex for task driven mode | Sebastian Huber | 2016-12-16 | 2 | -7/+97 |
| | | | | | | | | | | Termios has a task driven mode (TERMIOS_TASK_DRIVEN). This mode aims to avoid long sections with disabled interrupts. This is only partly implemented since the device level state is still protected by disabled interrupts. Use a mutex to protect the device level state in task driven mode to fix this issue. Update #2838. | ||||
* | libdl: Add C++ exception support to loaded modules. | Chris Johns | 2016-12-14 | 28 | -230/+1057 |
| | | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767. | ||||
* | score: Prevent thread_dispatch_disable_level < 0. | Christian Mauderer | 2016-12-12 | 1 | -0/+2 |
| | |||||
* | libblock: Fix for RTEMS_DEBUG | Sebastian Huber | 2016-12-12 | 1 | -0/+1 |
| | |||||
* | Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED | Sebastian Huber | 2016-12-12 | 3 | -3/+5 |
| | | | | Update #2825. | ||||
* | Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED | Sebastian Huber | 2016-12-12 | 3 | -3/+5 |
| | | | | Update #2825. | ||||
* | libio: Ensure proper std file descriptors | Sebastian Huber | 2016-12-12 | 1 | -9/+8 |
| | |||||
* | Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED | Sebastian Huber | 2016-12-12 | 3 | -4/+7 |
| | | | | Update #2825. | ||||
* | INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED | Sebastian Huber | 2016-12-12 | 3 | -3/+5 |
| | | | | Update #2825. | ||||
* | score: Introduce _Internal_error() | Sebastian Huber | 2016-12-12 | 18 | -55/+42 |
| | |||||
* | Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED | Sebastian Huber | 2016-12-12 | 3 | -4/+10 |
| | | | | Update #2825. | ||||
* | Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED | Sebastian Huber | 2016-12-12 | 3 | -4/+10 |
| | | | | Update #2825. | ||||
* | Rename is_internal to always_set_to_false | Sebastian Huber | 2016-12-12 | 4 | -7/+7 |
| | | | | Update #2825. | ||||
* | score: Remove fatal is internal indicator | Sebastian Huber | 2016-12-09 | 32 | -165/+47 |
| | | | | | | | | | 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. | ||||
* | score: Simplify linker set API | Sebastian Huber | 2016-12-06 | 2 | -33/+41 |
| | | | | | | | | | | | | | | | | | Resurrect RTEMS_LINKER_SET_BEGIN() and RTEMS_LINKER_SET_END(). Add new macros RTEMS_LINKER_SET_ITEM_COUNT(), RTEMS_LINKER_SET_IS_EMPTY(), and RTEMS_LINKER_SET_FOREACH(). Remove confusing RTEMS_LINKER_SET_ASSIGN_BEGIN() and RTEMS_LINKER_SET_ASSIGN_END(). Fix RTEMS_LINKER_SET_SIZE() to return the size in characters as specified by the documentation. Update #2408. Update #2790. | ||||
* | score: Fix ARM and PowerPC context initialization | Sebastian Huber | 2016-12-02 | 2 | -0/+5 |
| | | | | Update #2751. | ||||
* | rtems: Use _Thread_Dispatch_direct() | Sebastian Huber | 2016-12-02 | 2 | -2/+2 |
| | | | | Update #2797. | ||||
* | rtems: Fix rtems_scheduler_add_processor() | Sebastian Huber | 2016-12-02 | 1 | -4/+1 |
| | | | | | | Fix thread dispatch profiling of rtems_scheduler_add_processor(). Update #2797. | ||||
* | score: Initialize thread queue context early | Sebastian Huber | 2016-12-02 | 14 | -15/+23 |
| | | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire(). | ||||
* | posix: Fix typo | Sebastian Huber | 2016-12-02 | 1 | -1/+1 |
| | |||||
* | score: Fix debug thread queue context init | Sebastian Huber | 2016-12-02 | 2 | -2/+4 |
| | | | | | On ARM Thumb we may have function addresses ending with 0x7f, if we are lucky. | ||||
* | posix: Fix fall back spinlock implementation | Sebastian Huber | 2016-12-02 | 2 | -10/+7 |
| | | | | Update #2674. | ||||
* | libdebugger: Build for ARM's without a CP15. | Chris Johns | 2016-12-02 | 1 | -40/+114 |
| | |||||
* | cpukit: Add libdebugger, a remote debugger agent for GDB. | Chris Johns | 2016-11-29 | 22 | -0/+6337 |
| | |||||
* | sparc: Optimize _ISR_Handler() | Sebastian Huber | 2016-11-28 | 1 | -0/+3 |
| | | | | | | 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. | ||||
* | score: Fix thread queue context initialization | Sebastian Huber | 2016-11-28 | 9 | -9/+17 |
| | | | | | Initialize the thread queue context with invalid data in debug configurations to catch missing set up steps. | ||||
* | libblock: Fix for RTEMS_DEBUG | Sebastian Huber | 2016-11-24 | 1 | -0/+2 |
| | |||||
* | arm: Fix _CPU_ISR_Is_enabled() for ARMv7-M | Sebastian Huber | 2016-11-24 | 1 | -1/+1 |
| | | | | Update #2811. | ||||
* | score: Optimize _Thread_queue_Enqueue() | Sebastian Huber | 2016-11-24 | 20 | -28/+117 |
| | | | | | | | | | Move thread state for _Thread_queue_Enqueue() to the thread queue context. This reduces the parameter count of _Thread_queue_Enqueue() from five to four (ARM for example has only four function parameter registers). Since the thread state is used after several function calls inside _Thread_queue_Enqueue() this parameter was saved on the stack previously. | ||||
* | score: Fix interrupt profiling | Sebastian Huber | 2016-11-24 | 2 | -5/+20 |
| | | | | | | | | | | 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. | ||||
* | posix: Fix typo | Sebastian Huber | 2016-11-23 | 1 | -1/+1 |
| | | | | Update #2674. | ||||
* | score: Explicitly define the fatal source numbers | Sebastian Huber | 2016-11-23 | 1 | -11/+11 |
| | | | | Update #2825. | ||||
* | score: Uncomment unused internal error codes | Sebastian Huber | 2016-11-23 | 2 | -36/+40 |
| | | | | Update #2825. |