summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
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, spwtdp: Initial driver commitJavier Jalle2018-10-091-0/+4
|
* posix: Remove static assertionSebastian Huber2018-10-091-2/+0
| | | | | | | | 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-051-9/+1
| | | | | | 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.
* score: Remove CPU_PROVIDES_IDLE_THREAD_BODYSebastian Huber2018-10-0535-504/+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.
* 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.
* 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-0217-32/+31
| | | | | Update #3530. Update #3533.
* rtems: Add rtems_task_exit()Sebastian Huber2018-10-013-0/+41
| | | | 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.
* 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.
* stackchk: Remove heap hackSebastian Huber2018-09-211-7/+1
| | | | | It is now guranteed that threads do not use a freed stack during termination.
* Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALLSebastian Huber2018-09-212-5/+1
| | | | | | | | | | | | The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is checked against the minimum task stack size. The minium tasks task stack size is also a configuration option (CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really help in case of configuration errors. In addition, the interrupt stack is also re-used as the initialization stack in most BSPs. It is probably better to use a stack checker to detect problems. Update #3459.
* sparc: clang AS does no accept UNIMP without argumentDaniel Hellstrom2018-09-201-1/+1
|
* sparc: Remove sequence that could trigger B2BST errataDaniel Cederman2018-09-201-2/+0
|
* sparc: Return to previous section type when done with .data._SPARC_CounterDaniel Cederman2018-09-201-0/+1
|
* score: Allocate per-CPU data only if necessarySebastian Huber2018-09-191-13/+17
| | | | | | | | | The _Workspace_Allocate_aligned() would returns a non-NULL pointer for a zero size allocation request if there is enough memory available. This conflicts with the size estimate of zero in _Workspace_Space_for_per_CPU_data() if the per-CPU data set is empty. Update #3507.
* Remove CONFIGURE_HAS_OWN_CONFIGURATION_TABLESebastian Huber2018-09-171-184/+186
| | | | | | | | The RTEMS configuration should be done via explicit configuration options to allow more freedom for implementation changes. Update #3489. Update #3490.
* config: Remove CONFIGURE_HAS_OWN_MOUNT_TABLESebastian Huber2018-09-171-3/+4
| | | | | | | | RTEMS had the configuration option CONFIGURE_HAS_OWN_MOUNT_TABLE since 1999. This configuration option was broken since RTEMS 4.11. Remove this broken configuration option. Update #3488.
* config: Remove CONFIGURE_HAS_OWN_FILESYSTEM_TABLESebastian Huber2018-09-171-2/+5
| | | | | | | | This configuration was untested and undocumented. Remove it to avoid a potential exposure of internal data structures to the application domain. Close #3520.
* powerpc: Fix _CPU_Counter_read() for MPC860Sebastian Huber2018-09-171-0/+2
| | | | | The mpc860 is a RTEMS-specific multilib define, see GCC "gcc/config/rs6000/rtems.h".