summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-2226-293/+658
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* dosfs: Fix file name searchSebastian Huber2017-03-161-17/+7
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Update #2939.
* dosfs: Fix race condition msdos_dir_read()Sebastian Huber2017-03-161-5/+5
| | | | | | Obtain file system instance lock before member access. Update #2937.
* dosfs: Rename fat_entries to lfn_entriesSebastian Huber2017-03-161-20/+20
| | | | | The name "fat_entries" for long file name directory entries is quite misleading.
* dosfs: Fix long file name paddingSebastian Huber2017-03-161-3/+3
| | | | Update #2934.
* dosfs: msdos_filename_utf8_to_short_name_for_saveSebastian Huber2017-03-161-15/+10
| | | | Simplify.
* dosfs: Fix msdos_add_file()Sebastian Huber2017-03-161-245/+155
| | | | | | Make sure that long file names work accross cluster boundaries. Update #2929.
* dosfs: Simplify msdos_add_file()Sebastian Huber2017-03-161-4/+2
| | | | Update #2929.
* dosfs: Add and use msdos_lfn_checksum()Sebastian Huber2017-03-163-22/+25
| | | | Update #2929.
* dosfs: Simplify fat_file_open()Sebastian Huber2017-03-161-3/+1
| | | | Update #2929.
* dosfs: Simplify msdos_creat_node()Sebastian Huber2017-03-161-21/+14
| | | | Update #2929.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-163-30/+11
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Update #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-161-2/+2
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Update #2928.
* libio: Fix deadlock in location managementSebastian Huber2017-03-167-13/+17
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Update #2936.
* arm: Fix CPU context validation for Cortex-R4Sebastian Huber2017-03-092-7/+3
| | | | Do not touch the FPSCR[QC] bit since this is DNM/RAZ on Cortex-R4.
* 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.