summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-06Use rtems_get_version_string()Sebastian Huber1-3/+3
Update #3970.
2020-05-05libdl/rap: Correctly check the return enum from rela callsChris Johns1-4/+13
- The change from bool to an enum did not trip a compiler warning and only the rel path was changed. The rela path was missed so archs like SPARC failed. Updates #3969
2020-05-05libdl/obj-comp: Add trace prints when decompressingChris Johns2-0/+33
Updates #3969
2020-05-05libdl/obj-cache: Fail if the read offset is past the file lengthChris Johns1-4/+5
- The check was for greater than and not equal or greater Updates #3969
2020-05-05libdl/obj: Fix RAP format call table.Chris Johns1-1/+0
Updates #3969
2020-05-05libdl/sparc: Print trace message of reloc failture pathChris Johns1-1/+4
Updates #3969
2020-05-05libdl: Fix comment.Chris Johns1-1/+1
Updates #3969
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber393-393/+786
This order change fixes the Latex documentation build via Doxygen.
2020-04-28libdl/mips: Fix MIPS16hi/lo relocation support.Chris Johns1-24/+45
This patch is an updated version from: https://lists.rtems.org/pipermail/users/2016-January/029740.html Closes #3693
2020-04-17sapi: Add param check to rtems_extension_create()Sebastian Huber1-4/+10
Check that the extensions table is not NULL. Change format. Update #3953.
2020-04-16Canonicalize config.h includeSebastian Huber1120-1316/+1316
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-04-16libnetworking: Remove config.h include in headerSebastian Huber1-4/+0
2020-04-15libmisc/shell: Fix the handling of joel scripts in telnetChris Johns2-102/+274
- Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env, it cannot be returned this way. Add exit_code but the API is broken so it cannot be returned. Closes #3859
2020-04-14config: Fix typoSebastian Huber1-1/+1
Update #3875.
2020-04-14score: Check time of day in _TOD_Set()Sebastian Huber2-4/+20
Close #3949.
2020-04-14score: Return status in _TOD_Set()Sebastian Huber5-44/+41
Update #3949.
2020-04-08score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()Sebastian Huber1-20/+0
Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799.
2020-04-08config: Fix _ISR_Stack_area_endSebastian Huber1-6/+9
In the previous implementation, the _ISR_Stack_area_begin and _ISR_Stack_area_end symbols were in different sections. If they do not have the same alignment, then the following linker directive could separate them: *(SORT_BY_ALIGNMENT (SORT_BY_NAME (.rtemsstack*))) Do not use different sections and instead define _ISR_Stack_area_end directly. Update #3799.
2020-04-08score: Add and use RTEMS_SYMBOL_NAME()Sebastian Huber1-10/+27
Update #3799.
2020-04-05Revert "score: Fix _ISR_Stack_area_end"Sebastian Huber3-37/+5
This reverts commit 8e80876bdd54e36fb668eee655eec1dd588daf13 which broke several architectures.
2020-04-03cpukit/rfs: fix typo in header guardGedare Bloom1-1/+1
2020-04-03score: Fix _ISR_Stack_area_endSebastian Huber3-5/+37
The _ISR_Stack_area_begin and _ISR_Stack_area_end symbols are in different sections. They must have the same alignment, otherwise the following linker directive could separate them: *(SORT_BY_ALIGNMENT (SORT_BY_NAME (.rtemsstack*))) Update #3799.
2020-04-03arm: ARMv7-M statically initialized vector tableSebastian Huber2-16/+30
Statically initialize the ARMv7-M vector table to allow a placement in ROM with read-only MPU settings. Change licence to BSD-2-Clause in some files.
2020-04-03config: Remove filesystem entry config optionsSebastian Huber1-56/+14
Remove the following undocumented configuration options: * CONFIGURE_FILESYSTEM_ENTRY_DOSFS * CONFIGURE_FILESYSTEM_ENTRY_FTPFS * CONFIGURE_FILESYSTEM_ENTRY_IMFS * CONFIGURE_FILESYSTEM_ENTRY_JFFS2 * CONFIGURE_FILESYSTEM_ENTRY_NFS * CONFIGURE_FILESYSTEM_ENTRY_RFS * CONFIGURE_FILESYSTEM_ENTRY_TFTPFS Update #3836.
2020-04-02libio: Remove RTEMS_FILESYSTEM_TYPE_MINIIMFSSebastian Huber1-3/+0
This type is unused. Do not mention non-existing CONFIGURE_FILESYSTEM_MINIIMFS.
2020-04-02rtems: Fix Doxygen commentSebastian Huber1-2/+0
2020-03-31config: Remove CONFIGURE_FILESYSTEM_DEVFSSebastian Huber2-12/+0
This filesystem no longer exists. Remove unused RTEMS_FILESYSTEM_TYPE_DEVFS. Update #3894.
2020-03-31ftpd: Remove superfluous definesSebastian Huber1-9/+0
These defines are not used and easily conflict with application code. They are also defined by the standard header file <arpa/ftp.h> if someone needs them.
2020-03-31ftpd: Fix return typesSebastian Huber3-4/+6
2020-03-31config: Remove BSP_DEFAULT_UNIFIED_WORK_AREASSebastian Huber1-1/+0
Do not undefine this unused BSP configuration option. This is a follow up of commit 92b33b8d09377feb14eb5a831ce242047c58d02b.
2020-03-23score: Document _TLS_AlignmentSebastian Huber1-0/+10
2020-03-23score: Fix size of TLS_Thread_control_blockSebastian Huber1-1/+3
On most architectures, the size of the thread-local storage TCB must be 8 bytes. Fix the definition for 64-bit targets.
2020-03-23conf: Improve evaluation of event recording optsSebastian Huber1-22/+46
Check for configuration errors earlier. Allow fatal dumps without the other extensions. Add some warnings. Update #3904.
2020-03-18record: Add rtems_record_dump()Sebastian Huber10-17/+637
Add rtems_record_dump_base64() and rtems_record_dump_base64_zlib(). Add CONFIGURE_RECORD_FATAL_DUMP_BASE64 and CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB configuration options. Update #3904.
2020-03-16rtems: Add rtems_put_char()Sebastian Huber4-6/+50
Update #3904.
2020-03-16score: Add _IO_Base64()Sebastian Huber3-1/+109
Update #3904.
2020-03-13libio: Robust file descriptor reference countingSebastian Huber9-43/+34
There was a race conditon in the reference counting of file descriptors during a close() operation. After the call to the close handler, the rtems_libio_free() function cleared the flags to zero. However, at this point in time there may still exist some holders of the file descriptor. With RTEMS_DEBUG enabled this could lead to failed assertions in rtems_libio_iop_drop(). Change the code to use only atomic read-modify-write operations on the rtems_libio_iop::flags.
2020-03-09imfs: Replace devfs with an IMFS specializationSebastian Huber18-816/+213
Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
2020-03-09imfs: Simplify code generationSebastian Huber1-11/+17
Update #3894.
2020-03-09imfs: Remove unused handlersSebastian Huber1-6/+1
Update #3894.
2020-03-09imfs: Constify imfs_memfile_bytes_per_blockSebastian Huber4-40/+2
The CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK value is validated by <rtems/confdefs/libio.h>. Changing this value during runtime could lead to memory corruption. Update #3894.
2020-03-09imfs: Use _IMFS_get_time()Sebastian Huber1-6/+5
Update #3894.
2020-03-09libio: Constify some functionsSebastian Huber1-4/+4
2020-03-04console: Use IMFS_add_node() for simple task consSebastian Huber1-20/+50
Change license to BSD-2-Clause according to file history. Update #3053. Update #3894.
2020-03-04console: Use IMFS_add_node() for simple consoleSebastian Huber1-17/+38
Change license to BSD-2-Clause according to file history. Update #3053. Update #3894.
2020-03-04imfs: Add IMFS_add_node()Sebastian Huber5-16/+312
Update #3894.
2020-03-04imfs: Simplify IMFS_create_node()Sebastian Huber1-3/+4
Update #3894.
2020-03-04imfs: Remove IMFS_NODE_FLAG_NAME_ALLOCATEDSebastian Huber3-17/+39
Remove IMFS_NODE_FLAG_NAME_ALLOCATED and instead replace the node control in rename operations. This avoids a special case in the general node destruction which pulled in free(). Update #3894.
2020-03-04rtems: rtems_scheduler_get_processor_maximum()Sebastian Huber4-54/+3
In uniprocessor configurations, use compile-time constants for rtems_scheduler_get_processor_maximum() and rtems_scheduler_get_processor(). This helps compilers and static analyzers to deduce that some loop bodies are only executed once and some conditional statements have a fixed outcome (may improve code generation and reduce false positives). In SMP configurations, directly provide the internal implementation for performance reasons.
2020-03-04config: Remove <rtems/btimer.h> includeSebastian Huber1-4/+0
The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define anything, so remove the <rtems/btimer.h> include. Update #3875.