summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove specialized CPPFLAGSSebastian Huber2018-10-0930-37/+0
|
* shell: Use #include "..." for local header filesSebastian Huber2018-10-0930-37/+36
| | | | Update #3375.
* telnetd: Ignore setsockopt() return statusSebastian Huber2018-10-092-2/+2
| | | | Update #3529.
* ftpd: Restructure chroot() handling.Sebastian Huber2018-10-091-7/+3
| | | | | | Remove superfluous setting of errno = 0. Update #3530.
* leon: do not use -mfix-{device} with ClangDaniel Hellstrom2018-10-092-2/+28
| | | | | | | | | Clang do not support -mfix-gr712rc, -mfix-ut700 and -mfix-ut699. Therefore we adjust the CPU_CFLAGS to remove these when compiling with Clang. Instead use GR712RC: -mcpu=gr712rc GR740: -mcpu=gr740 UT699/UT700: Not currently supported by clang, use LEON3 BSP.
* leon, spwtdp: Initial driver commitJavier Jalle2018-10-097-0/+1357
|
* bsps/arm: Fix ctor/dtor invocation orderSebastian Huber2018-10-091-31/+4
| | | | Remove obsolete .ctor and .dtor output sections.
* posix: Remove static assertionSebastian Huber2018-10-092-2/+1
| | | | | | | | Standard C does not allow pointer operands in an integer constant expressions. GCC issues only a -Wpedantic warning in the removed static assertion. However, clang is pedantic by default and issues an error. Rely on the test case instead.
* ftpd: Remove superfluous temporary bufferSebastian Huber2018-10-081-31/+15
| | | | Update #3530.
* ftpd: Check return status of getsockname()Sebastian Huber2018-10-081-18/+22
| | | | Update #3530.
* ftpd: Fix insecure chroot() handlingSebastian Huber2018-10-051-8/+9
| | | | | | | Ensure that the rtems_libio_set_private_env() was successful before the chroot(). Update #3530.
* ftpd: Avoid resource leakSebastian Huber2018-10-051-0/+2
| | | | Update #3530.
* ftpd: Avoid use of uninitialized memorySebastian Huber2018-10-051-8/+7
| | | | Update #3530.
* ftpd: Avoid malloc() and sscanf()Sebastian Huber2018-10-051-4/+3
| | | | | | Move the user name to the session information. Update #3530.
* ftpd: Remove FTPD_SessionInfo_t::pass memberSebastian Huber2018-10-053-16/+51
| | | | | | There is no need to keep the password throughout the session. Update #3530.
* ftpd: Avoid NULL pointer checks before free()Sebastian Huber2018-10-051-10/+5
| | | | | | They are superfluous and just bloat the code. Update #3530.
* jffs2: Avoid use of constant register variableSebastian Huber2018-10-051-0/+12
| | | | | Avoid the use of a constant register variable which is used in some conditions. This gets rid of a clang -Wsometimes-uninitialized warning.
* Fix rbtree_postorder_for_each_entry_safe()Sebastian Huber2018-10-051-2/+2
| | | | | | | | Use the non-standard typeof operator to avoid code generation errors with clang and use of uninitialized variable warnings with GCC and Coverity Scan. Update #3465.
* score: Fix legacy RTEMS_STATIC_ASSERT()Sebastian Huber2018-10-057-11/+25
| | | | | | | | | In standard C pointer operands are not allowed in integer constant expressions. Avoid a static assertion based on an array typedef since this could lead to warnings ("variably modified 'x' at file scope" and "typedef 'x' locally defined but not used"); This implementation requires unique messages.
* tests: Use rtems_task_exit()Sebastian Huber2018-10-05164-365/+223
| | | | Update #3533.
* score: Remove CPU_PROVIDES_IDLE_THREAD_BODYSebastian Huber2018-10-0537-516/+53
| | | | | | | Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.
* dev/sc16is752: Deal with a baud of zeroSebastian Huber2018-10-051-8/+13
| | | | | Avoid division by zero and instead disable rx/tx in case of a zero baud value. Problem identified by Coverity Scan.
* spthreadlife01: A task exit must not returnSebastian Huber2018-10-051-3/+3
| | | | Update #3533.
* bsp/atsam: Use internal SRAM for stack areaSebastian Huber2018-10-041-1/+1
|
* Add rtems_interrupt_server_request_set_vector()Sebastian Huber2018-10-041-0/+27
| | | | | | | | | | | | | By default, the interrupt vector of an interrupt server request is set to a special value which is outside the range of vectors supported by the interrupt controller hardware. Add rtems_interrupt_server_request_set_vector() to set the interrupt vector in an interrupt server request. Calls to rtems_interrupt_server_request_submit() will disable the interrupt vector of the request. After processing of the request by the interrupt server the interrupt vector will be enabled again.
* Optimize calloc()Sebastian Huber2018-10-041-4/+5
| | | | Use return value of memset() to enable tail call optimizations.
* Avoid need for -fno-builtin for calloc()Sebastian Huber2018-10-041-0/+2
| | | | Use RTEMS_OBFUSCATE_VARIABLE() instead.
* Remove superfluous pipe_create()Sebastian Huber2018-10-044-50/+5
|
* Rename files to make them unique within cpukitSebastian Huber2018-10-048-4/+4
| | | | This allows to build librtemscpu.a in one rush in the future.
* bsps/mips: Remove unused command line definesSebastian Huber2018-10-043-3/+0
| | | | Update #3375.
* libdl: Avoid command line definesSebastian Huber2018-10-042-1/+3
| | | | Update #3375.
* mghttpd: Add configuration to source fileSebastian Huber2018-10-042-2/+4
| | | | Update #3375.
* pppd: Simplify Makefile.amSebastian Huber2018-10-041-1/+1
| | | | Update #3375.
* rpc: Use configuration header fileSebastian Huber2018-10-0439-4/+115
| | | | Update #3375.
* Use rtems_task_exit()Sebastian Huber2018-10-0223-39/+38
| | | | | Update #3530. Update #3533.
* rtems: Add rtems_task_exit()Sebastian Huber2018-10-014-3/+68
| | | | Update #3533.
* telnetd: Remove CEXP convenience routinesSebastian Huber2018-10-011-25/+0
| | | | Close #3535.
* telnetd: Remove CONFIGURE_MAXIMUM_PTYSSebastian Huber2018-10-013-66/+75
| | | | | | | | Add a rtems_telnetd_config_table::client_maximum member to the Telnet configuration. Close #3526. Close #3528.
* telnetd: Regroup includesSebastian Huber2018-10-011-7/+5
|
* telnetd: Remove dead codeSebastian Huber2018-10-011-7/+0
|
* telnetd: Remove superfluous global variableSebastian Huber2018-10-011-9/+7
| | | | Update #3528.
* telnetd: Convert pty driver to new Termios APISebastian Huber2018-10-013-457/+146
| | | | Update #3526.
* pppd: Remove unused get_pty() functionSebastian Huber2018-10-012-15/+0
| | | | Update #3526.
* spthreadlife01: Remove superfluous restart caseSebastian Huber2018-10-011-3/+0
| | | | Update #3243.
* bsp/atsam: Use binary semaphore for I2CSebastian Huber2018-10-012-23/+21
| | | | | | | Remove superfluous sleep before each I2C transfer. Reset I2C module after transfer timeouts. Update #3534.
* bsp/atsam: Use binary semaphore for SPISebastian Huber2018-10-011-10/+7
| | | | Update #3534.
* bsp/imx: Add imx_ccm_sdhci_hz()Sebastian Huber2018-09-272-0/+7
| | | | Update #3525.
* printer: Fix Doxygen commentsSebastian Huber2018-09-271-5/+1
|
* stackchk: Fix interrupt stack preparationSebastian Huber2018-09-241-9/+11
| | | | | | We have to prepare the interrupt stack of each processor. Update #3459.
* stackchk: Improve support for interrupt stacksSebastian Huber2018-09-211-29/+84
| | | | | | | | Prepare the interrupt stack which may be used by the boot processor as initialization stack with the stack sanity pattern. Check the interrupt stack of the current processor in the thread begin and switch extension. Update #3459.