summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bsp/pc386: Disable interrupt nesting for job handlerJan Sommer2020-06-111-0/+10
| | | | | | | | | | | - Fixes timeout for smpipi01 where: + Main thread sends perform jobs to worker cpu while it is already performing jobs + Interrupt on worker cpu performs jobs, but with empty job list + Worker cpu continues to execut previous job and adds new job list to itself, which is never performed, since the interrupt has already been handled + Main thread blocks forever on barrier D
* smpsignal01: Change state before sending the signalJan Sommer2020-06-111-1/+1
| | | | | | The signal handler of the consumer might start executing before rtems_signal_send of the producer returns. Therefore change the state to SIG_1_SENT before sending the signal.
* bsps/pc386: Separate smp API functions. Makes smpfatal08 linkJan Sommer2020-06-116-56/+61
|
* bsps/pc386: Fix Clock_isr for SMPJan Sommer2020-06-111-1/+1
| | | | | | | | - Do not forward Clock_isr through Clock_driver_support_at_tick as this will cause every processor to send IPIs with Clock_isr therby creating an infinie loop - Instead the processor handling the clock interrupt causes all other processors to call rtems_timecounter_tick to update their tick count
* bsp/pc386: Define interrupt stack frame for smpJan Sommer2020-06-113-59/+73
| | | | | | - 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-117-46/+59
| | | | | | | | | | 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
* bsp/pc386: Turn start16.S into a startAP.SJan Sommer2020-06-114-258/+159
| | | | | | | | | | | start16.S is now only used for SMP configurations to start the application processors. This commit removes all unnecessary parts for this job, i.e. video conssole initalisation, A20 gate activation and all non-AP related code. Update #3335
* bsp/pc386: Fix Makefile for building with SMPJan Sommer2020-06-111-1/+1
|
* tests for fenv.h functionsEshan dhawan2020-06-063-26/+77
| | | | | | | | | | | | | | | | | | | | | added tests for fesetexeptflag(), fegetexeptflag(), fegetround(), fesetround(). In the test fegetround() does not return any flag other then FE_TONEAREST in tests. This is probably due to soft float. The test complies successfully and returns assert at fegetround() Other tests run without any errors tested on RISCV/rv32imac The test prints nothing if runs successfully. updates #2971 Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
* 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.
* libtests/tar01: Remove files of tar01.tar archiveSebastian Huber2020-05-083-5/+0
| | | | Update #3968.
* 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.
* libtests/tar0[12]: Add tar archiveSebastian Huber2020-05-074-16/+9
| | | | | | | Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
* testsuite: Add expected-fail to beagleboneblackChris Johns2020-05-061-0/+17
| | | | Updates #2962
* testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706Chris Johns2020-05-065-0/+40
| | | | Updates #2962
* testsuite: Add expected-fail to psimChris Johns2020-05-061-0/+22
| | | | Updates #2962
* libdl: Add allocator check scriptChris Johns2020-05-061-0/+96
| | | | Use with the trace outout to check for allocation leaks.
* testsuite: Add expected-fail to erc32, leon2, and leon3 BSPsChris Johns2020-05-064-0/+28
| | | | Updates #2962
* testsuite: Add the BSP architecture to the include pathChris Johns2020-05-061-1/+1
| | | | Updates #2962
* 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-066-2/+66
| | | | 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-063-5/+8
| | | | Close #3970.
* Use rtems_get_version_string()Sebastian Huber2020-05-065-7/+7
| | | | Update #3970.
* libtest/dl09: Test trampolines only when supportedChris Johns2020-05-061-4/+20
|
* testsuite/dl06: Add a local define to control tracingChris Johns2020-05-051-0/+2
| | | | Closes #3969
* 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
* rtems-bsps: Add markdown supportChris Johns2020-05-011-49/+320
| | | | - Convert to python for better performance
* libtests/heapwalk: Fix for RTEMS_DEBUGSebastian Huber2020-04-291-0/+3
| | | | Update #2962.
* 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
* README: Fix the rtems.git lineChris Johns2020-04-271-1/+1
| | | | Updates #3231
* bsps/arm: Fix uninitialized value in generic timerChristian Mauderer2020-04-201-4/+10
| | | | | | | | _CPU_Counter_frequency() can be called by the rtems_counter initialization before arm_gt_clock_initialize() initializes the value used in _CPU_Counter_frequency(). Closes #3961.
* sapi: Add param check to rtems_extension_create()Sebastian Huber2020-04-172-4/+15
| | | | | | Check that the extensions table is not NULL. Change format. Update #3953.
* Canonicalize config.h includeSebastian Huber2020-04-161324-1520/+1520
| | | | | | | | 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
|
* bsp/imx: Add an extra ecspi clock.Christian Mauderer2020-04-154-1/+12
| | | | | | Some imx chips or boards don't use the same frequency for ECSPI and IPG. Update #3869
* libmisc/shell: Fix the handling of joel scripts in telnetChris Johns2020-04-153-105/+394
| | | | | | | | | | | | - 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-143-4/+45
| | | | Close #3949.
* score: Return status in _TOD_Set()Sebastian Huber2020-04-146-51/+48
| | | | Update #3949.