summaryrefslogtreecommitdiff
path: root/cpukit (follow)
AgeCommit message (Collapse)Author
2020-06-18rtems: Remove RTEMS_MP_NOT_CONFIGURED errorSebastian Huber
Some objects can be created with a local or global scope in a multiprocessing network. In non-multiprocessing configurations setting the scope to local or global had no effect since such a system can be viewed as a multiprocessing network with just one node. One and all nodes is the same in such a network. However, if multiprocessing was configured, creation of a global object in a single node network resulted in an RTEMS_MP_NOT_CONFIGURED error. Remove this error condition for symmetry to the non-multiprocessing setup. This is in line with the task affinity behaviour in SMP systems. Update #4005.
2020-06-11bsp/pc386: Define interrupt stack frame for smpJan Sommer
- Defines CPU_Interrupt_frame in cpu_impl.h - Updates isq_asm.S to save/restore registers in matching order to interrupt frame
2020-06-11bsp/pc386: Update context switch and restoreJan Sommer
Uses similar flow in cpu_asm.S for i386 as for arm.
2020-06-11bsp/pc386: Update GDT to work for SMPJan Sommer
Create a GS segment in the GDT for each processor for storing TLS. This makes the GDT in startAP.S obsolete as all processors now share the same GDT, which is passed to each AP at startup. The correct segment for each processor is calculated in cpu_asm.S. Update #3335
2020-05-27arm: Fix ARMv7-M exception handlerSebastian Huber
Store the stack pointer of the exception context to the exception frame. Close #3987.
2020-05-12posix: Get real priority in pthread_getattr_np()Sebastian Huber
This is in line with pthread_setschedparam() and pthread_getschedparam(). Update #2514.
2020-05-07termios: Replace rtems_termios_isig_status_codeSebastian Huber
Merge the rtems_termios_isig_status_code and rtems_termios_iproc_status_code enums into a single rtems_termios_iproc_status_code which is now a part of the API. Simplify rtems_termios_posix_isig_handler() to avoid unreachable code. Close #3800.
2020-05-06libdl: Add allocator check scriptChris Johns
Use with the trace outout to check for allocation leaks.
2020-05-06score: Update _Copyright_NoticeSebastian Huber
Add the _Copyright_Notice to a special linker set to prevent a garbage collection of this item.
2020-05-06rtems: Deprecate _Copyright_NoticeSebastian Huber
Close #3973.
2020-05-06rtems: Add rtems_get_copyright_notice()Sebastian Huber
Update #3973.
2020-05-06rtems: Deprecate <rtems/system.h>Sebastian Huber
Close #3972.
2020-05-06rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTHSebastian Huber
This define is * not documented, * not used in the RTEMS code base, and * longer than sizeof(rtems_name). Close #3971.
2020-05-06rtems: Deprecate use of _RTEMS_versionSebastian Huber
Close #3970.
2020-05-06Use rtems_get_version_string()Sebastian Huber
Update #3970.
2020-05-05libdl/rap: Correctly check the return enum from rela callsChris Johns
- 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 Johns
Updates #3969
2020-05-05libdl/obj-cache: Fail if the read offset is past the file lengthChris Johns
- The check was for greater than and not equal or greater Updates #3969
2020-05-05libdl/obj: Fix RAP format call table.Chris Johns
Updates #3969
2020-05-05libdl/sparc: Print trace message of reloc failture pathChris Johns
Updates #3969
2020-05-05libdl: Fix comment.Chris Johns
Updates #3969
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber
This order change fixes the Latex documentation build via Doxygen.
2020-04-28libdl/mips: Fix MIPS16hi/lo relocation support.Chris Johns
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 Huber
Check that the extensions table is not NULL. Change format. Update #3953.
2020-04-16Canonicalize config.h includeSebastian Huber
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 Huber
2020-04-15libmisc/shell: Fix the handling of joel scripts in telnetChris Johns
- 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 Huber
Update #3875.
2020-04-14score: Check time of day in _TOD_Set()Sebastian Huber
Close #3949.
2020-04-14score: Return status in _TOD_Set()Sebastian Huber
Update #3949.
2020-04-08score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()Sebastian Huber
Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799.
2020-04-08config: Fix _ISR_Stack_area_endSebastian Huber
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 Huber
Update #3799.
2020-04-05Revert "score: Fix _ISR_Stack_area_end"Sebastian Huber
This reverts commit 8e80876bdd54e36fb668eee655eec1dd588daf13 which broke several architectures.
2020-04-03cpukit/rfs: fix typo in header guardGedare Bloom
2020-04-03score: Fix _ISR_Stack_area_endSebastian Huber
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 Huber
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 Huber
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 Huber
This type is unused. Do not mention non-existing CONFIGURE_FILESYSTEM_MINIIMFS.
2020-04-02rtems: Fix Doxygen commentSebastian Huber
2020-03-31config: Remove CONFIGURE_FILESYSTEM_DEVFSSebastian Huber
This filesystem no longer exists. Remove unused RTEMS_FILESYSTEM_TYPE_DEVFS. Update #3894.
2020-03-31ftpd: Remove superfluous definesSebastian Huber
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 Huber
2020-03-31config: Remove BSP_DEFAULT_UNIFIED_WORK_AREASSebastian Huber
Do not undefine this unused BSP configuration option. This is a follow up of commit 92b33b8d09377feb14eb5a831ce242047c58d02b.
2020-03-23score: Document _TLS_AlignmentSebastian Huber
2020-03-23score: Fix size of TLS_Thread_control_blockSebastian Huber
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 Huber
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 Huber
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 Huber
Update #3904.
2020-03-16score: Add _IO_Base64()Sebastian Huber
Update #3904.