summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arm: Remove legacy execption supportSebastian Huber2017-03-084-301/+0
|
* monitor: Do not zero sema id and nameSebastian Huber2017-03-071-1/+5
|
* score: Fix scheduler yield in SMP configurationsSebastian Huber2017-03-074-20/+46
| | | | | | | | | Check that no ask help request is registered during unblock and yield scheduler operations. There is no need to ask for help if a scheduled thread yields, since this is already covered by the pre-emption detection. Update #2556.
* powerpc: Fix PPC_CONTEXT_VOLATILE_SIZESebastian Huber2017-03-061-1/+1
|
* libdrvmgr: remove bracesDaniel Cederman2017-03-061-1/+1
|
* libdrvmgr: added default BSP init level hookDaniel Hellstrom2017-03-061-0/+9
|
* libpci: code cleanupDaniel Hellstrom2017-03-061-3/+1
|
* posix_devctl: Fix for pre C99Sebastian Huber2017-03-021-5/+5
| | | | | Use __restrict just like in <devctl.h> to avoid compiler errors with older GCC, e.g. 4.8 or 4.9.
* dosfs: Fix FAT32 formatterSebastian Huber2017-02-281-2/+2
| | | | | | | | | The second FAT entry contains a bit to indicate if the FAT32 filesystem is not dirty and a bit to indicate if there was no IO error. Set both bits for a fresh filesystem. This prevents a warning if mounted on Windows. Close #2913.
* dosfs: Directories should have a file size of 0Sebastian Huber2017-02-281-1/+6
| | | | Close #2755.
* termios: Simplify some calculationsSebastian Huber2017-02-281-4/+3
| | | | Use the modular arithmetic addition rule.
* termios: Implement non-blocking writeSebastian Huber2017-02-281-4/+6
|
* termios: Make write POSIX compatibleSebastian Huber2017-02-281-34/+81
| | | | | | | | Currently only blocking read/write operations are implemented. A blocking write must transfer at least one character. It should not wait for the device for the second character and so on. Close #2917.
* termios: Introduce doTransmit()Sebastian Huber2017-02-281-10/+15
|
* termios: Simplify oproc()Sebastian Huber2017-02-281-19/+36
| | | | Call rtems_termios_puts() only once. Adjust column in one place.
* termios: Fix infinite loop in receive pathSebastian Huber2017-02-281-5/+9
| | | | | | | In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Close #2915.
* termios: Change receive callback invocationSebastian Huber2017-02-281-11/+47
| | | | | | | | Call the receive callback in case a read will succeed without to block. This enables the use of the receive callback for a poll() and select() support. Increase raw input buffer size to allow buffering of one line. Close #2916.
* termios: Change tty_rcvwakeup to boolSebastian Huber2017-02-282-10/+10
| | | | Optimize callout invocation check.
* termios: Ignore carriage return early if desiredSebastian Huber2017-02-281-6/+19
| | | | | | | In case carriage return characters should be ignored in the input (IGNCR), then drop them early before they reach the raw input buffer. This makes it easier to calculate the content size of the raw input buffer.
* termios: Protect raw input buffer with device lockSebastian Huber2017-02-281-16/+36
| | | | | | | Use the device lock to protect the raw input buffer management, e.g. tail, head and buffer content updates. Close #2914.
* termios: Simplify rtems_termios_read_tty()Sebastian Huber2017-02-281-11/+4
| | | | | | Remove dead code. Update #2914.
* termios: Add kqueue() and poll() supportSebastian Huber2017-02-234-9/+36
| | | | Real implementation is provided by libbsd.
* score: Add RTEMS_WEAK_ALIAS()Sebastian Huber2017-02-231-0/+10
|
* Add rtems_interrupt_server_request_submit()Sebastian Huber2017-02-231-1/+181
| | | | | | This function may be used to do a two-step interrupt processing. The first step is done in interrupt context which calls this function. The second step is then done in the context of the interrupt server.
* Remove old CVS keywordsNick Withers2017-02-152-2/+2
| | | | Update #2388.
* sapi: Fix warningsSebastian Huber2017-02-151-1/+1
|
* shell: Fix warningsSebastian Huber2017-02-152-4/+8
|
* libdl: Fix warningSebastian Huber2017-02-151-1/+2
|
* score: Fix warningSebastian Huber2017-02-151-0/+2
|
* monitor: Print short and long task namesSebastian Huber2017-02-142-26/+53
| | | | | | Print wait object identifier only if it exists. Update #2858.
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-142-44/+45
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* shell: Fix warningsSebastian Huber2017-02-141-2/+0
|
* score: Fix warning in _Thread_Set_name()Sebastian Huber2017-02-141-1/+1
|
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-1/+1
| | | | | | For a filename match the entry must match without anything remaining. Close #2908.
* Prefix confdefs.h internal def with an underscoreSebastian Huber2017-02-031-455/+352
| | | | Close #2895.
* termios: Fix static device initalizationSebastian Huber2017-02-032-7/+23
| | | | | | This enables early printk() support. Update #2838.
* score: Move _Thread_Scheduler_ask_for_help()Sebastian Huber2017-02-033-36/+34
| | | | | Move _Thread_Scheduler_ask_for_help(), rename it to _Thread_Ask_for_help() and make it static.
* score: Improve scheduler helping protocolSebastian Huber2017-02-0322-169/+88
| | | | | | | | | | | Only register ask for help requests in the scheduler unblock and yield operations. The actual ask for help operation is carried out during _Thread_Do_dispatch() on a processor related to the thread. This yields a better separation of scheduler instances. A thread of one scheduler instance should not be forced to carry out too much work for threads on other scheduler instances. Update #2556.
* sparc: Fix volatile clobberSebastian Huber2017-02-031-1/+1
| | | | | | | Do not adjust the stack pointer, since this is already done by the restor instruction. Update #2270.
* confdefs.h: SimplifySebastian Huber2017-02-031-3/+1
|
* confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP definedKevin Kirspel2017-02-021-0/+2
|
* rtems: Fix RTEMS_NO_TIMEOUT defineSebastian Huber2017-02-021-1/+1
| | | | | Cast the internal WATCHDOG_NO_TIMEOUT to the right type for a Classic API interval to avoid implict type conversion warnings.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-023-30/+18
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* rtems: Fix RTEMS_MAXIMUM_PRIORITY defineSebastian Huber2017-02-011-1/+1
| | | | | Cast the internal PRIORITY_MAXIMUM to the right type for a Classic API task priority to avoid integer conversion warnings.
* monitor: Add support for BSD wakeup messagesSebastian Huber2017-01-311-3/+17
|
* score: Add _Thread_queue_Object_nameSebastian Huber2017-01-3124-80/+151
| | | | | | | | | | | | | Add the special thread queue name _Thread_queue_Object_name to mark thread queues embedded in an object with identifier. Using the special thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for this purpose since the thread wait information and thread state are protected by different SMP locks in separate critical sections. Remove STATES_THREAD_QUEUE_WITH_IDENTIFIER. Add and use _Thread_queue_Object_initialize(). Update #2858.
* score: Fix _Thread_Initialize()Sebastian Huber2017-01-312-2/+5
|
* score: Fix unused parameter warningSebastian Huber2017-01-301-0/+2
| | | | Close #2890.
* Complete STACK_CHECKER_EXTENSION. Fixes #2889Stavros Passas2017-01-301-0/+1
|
* bsps/arm: Fix Cortex-M DWT CPU counter.Christian Mauderer2017-01-301-1/+45
| | | | | | | | | It is necessary to enable the DWT using a special initialization sequence before the CYCCNT can be enabled. See for example the RESET_CYCLE_COUNTER in libbsp/arm/atsam/utils/utility.h. Note that this problem only occurs if no debugger is connected. A debugger most likely already enables the necessary module.