summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* i386: Replace fpcr clobber with memory clobberSebastian Huber2020-07-052-3/+3
| | | | Update #3943.
* score: Clarify CPU_USE_LIBC_INIT_FINI_ARRAY optionSebastian Huber2020-06-301-3/+4
| | | | Update #4018.
* score: Add CPU_USE_LIBC_INIT_FINI_ARRAYKinsey Moore2020-06-3020-6/+49
| | | | | | | | This introduces the CPU_USE_LIBC_INIT_FINI_ARRAY define for use by CPU ports to determine which global constructor and destructor methods are used instead of placing architecture defines where they shouldn't be. Close #4018
* Change version to RTEMS 6Sebastian Huber2020-06-301-2/+2
| | | | Update #4020.
* rtems: Remove RTEMS_MP_NOT_CONFIGURED errorSebastian Huber2020-06-184-19/+14
| | | | | | | | | | | | | | 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.
* bsp/pc386: Define interrupt stack frame for smpJan Sommer2020-06-112-13/+17
| | | | | | - Defines CPU_Interrupt_frame in cpu_impl.h - Updates isq_asm.S to save/restore registers in matching order to interrupt frame
* bsp/pc386: Update context switch and restoreJan Sommer2020-06-112-16/+51
| | | | Uses similar flow in cpu_asm.S for i386 as for arm.
* bsp/pc386: Update GDT to work for SMPJan Sommer2020-06-112-5/+32
| | | | | | | | | | 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
* arm: Fix ARMv7-M exception handlerSebastian Huber2020-05-271-8/+15
| | | | | | Store the stack pointer of the exception context to the exception frame. Close #3987.
* posix: Get real priority in pthread_getattr_np()Sebastian Huber2020-05-121-4/+6
| | | | | | | This is in line with pthread_setschedparam() and pthread_getschedparam(). Update #2514.
* termios: Replace rtems_termios_isig_status_codeSebastian Huber2020-05-073-59/+40
| | | | | | | | | | 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.
* libdl: Add allocator check scriptChris Johns2020-05-061-0/+96
| | | | Use with the trace outout to check for allocation leaks.
* score: Update _Copyright_NoticeSebastian Huber2020-05-061-3/+2
| | | | | Add the _Copyright_Notice to a special linker set to prevent a garbage collection of this item.
* rtems: Deprecate _Copyright_NoticeSebastian Huber2020-05-062-1/+3
| | | | Close #3973.
* rtems: Add rtems_get_copyright_notice()Sebastian Huber2020-05-064-2/+64
| | | | Update #3973.
* rtems: Deprecate <rtems/system.h>Sebastian Huber2020-05-061-0/+4
| | | | Close #3972.
* rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTHSebastian Huber2020-05-061-2/+3
| | | | | | | | | | | | This define is * not documented, * not used in the RTEMS code base, and * longer than sizeof(rtems_name). Close #3971.
* rtems: Deprecate use of _RTEMS_versionSebastian Huber2020-05-062-5/+6
| | | | Close #3970.
* Use rtems_get_version_string()Sebastian Huber2020-05-061-3/+3
| | | | Update #3970.
* libdl/rap: Correctly check the return enum from rela callsChris Johns2020-05-051-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
* libdl/obj-comp: Add trace prints when decompressingChris Johns2020-05-052-0/+33
| | | | Updates #3969
* libdl/obj-cache: Fail if the read offset is past the file lengthChris Johns2020-05-051-4/+5
| | | | | | - The check was for greater than and not equal or greater Updates #3969
* libdl/obj: Fix RAP format call table.Chris Johns2020-05-051-1/+0
| | | | Updates #3969
* libdl/sparc: Print trace message of reloc failture pathChris Johns2020-05-051-1/+4
| | | | Updates #3969
* libdl: Fix comment.Chris Johns2020-05-051-1/+1
| | | | Updates #3969
* doxygen: Switch @brief and @ingroupSebastian Huber2020-04-28393-393/+786
| | | | This order change fixes the Latex documentation build via Doxygen.
* libdl/mips: Fix MIPS16hi/lo relocation support.Chris Johns2020-04-281-24/+45
| | | | | | | | This patch is an updated version from: https://lists.rtems.org/pipermail/users/2016-January/029740.html Closes #3693
* sapi: Add param check to rtems_extension_create()Sebastian Huber2020-04-171-4/+10
| | | | | | Check that the extensions table is not NULL. Change format. Update #3953.
* Canonicalize config.h includeSebastian Huber2020-04-161120-1316/+1316
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* libnetworking: Remove config.h include in headerSebastian Huber2020-04-161-4/+0
|
* libmisc/shell: Fix the handling of joel scripts in telnetChris Johns2020-04-152-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
* config: Fix typoSebastian Huber2020-04-141-1/+1
| | | | Update #3875.
* score: Check time of day in _TOD_Set()Sebastian Huber2020-04-142-4/+20
| | | | Close #3949.
* score: Return status in _TOD_Set()Sebastian Huber2020-04-145-44/+41
| | | | Update #3949.
* score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()Sebastian Huber2020-04-081-20/+0
| | | | | | Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799.
* config: Fix _ISR_Stack_area_endSebastian Huber2020-04-081-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.
* score: Add and use RTEMS_SYMBOL_NAME()Sebastian Huber2020-04-081-10/+27
| | | | Update #3799.
* Revert "score: Fix _ISR_Stack_area_end"Sebastian Huber2020-04-053-37/+5
| | | | | This reverts commit 8e80876bdd54e36fb668eee655eec1dd588daf13 which broke several architectures.
* cpukit/rfs: fix typo in header guardGedare Bloom2020-04-031-1/+1
|
* score: Fix _ISR_Stack_area_endSebastian Huber2020-04-033-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.
* arm: ARMv7-M statically initialized vector tableSebastian Huber2020-04-032-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.
* config: Remove filesystem entry config optionsSebastian Huber2020-04-031-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.
* libio: Remove RTEMS_FILESYSTEM_TYPE_MINIIMFSSebastian Huber2020-04-021-3/+0
| | | | | This type is unused. Do not mention non-existing CONFIGURE_FILESYSTEM_MINIIMFS.
* rtems: Fix Doxygen commentSebastian Huber2020-04-021-2/+0
|
* config: Remove CONFIGURE_FILESYSTEM_DEVFSSebastian Huber2020-03-312-12/+0
| | | | | | | | This filesystem no longer exists. Remove unused RTEMS_FILESYSTEM_TYPE_DEVFS. Update #3894.
* ftpd: Remove superfluous definesSebastian Huber2020-03-311-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.
* ftpd: Fix return typesSebastian Huber2020-03-313-4/+6
|
* config: Remove BSP_DEFAULT_UNIFIED_WORK_AREASSebastian Huber2020-03-311-1/+0
| | | | | Do not undefine this unused BSP configuration option. This is a follow up of commit 92b33b8d09377feb14eb5a831ce242047c58d02b.
* score: Document _TLS_AlignmentSebastian Huber2020-03-231-0/+10
|
* score: Fix size of TLS_Thread_control_blockSebastian Huber2020-03-231-1/+3
| | | | | On most architectures, the size of the thread-local storage TCB must be 8 bytes. Fix the definition for 64-bit targets.