summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-23psxtmtests: Fix test namesHEADmasterSebastian Huber
Tests PSXTMCOND 08, 09, and 10 had the same test name.
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-18i386/pc: Initialise the printk serial port on first useChris Johns
2020-06-17bsps/i386/pc386/start/*.S: Remove space before tabJoel Sherrill
2020-06-11bsp/pc386: Disable interrupt nesting for job handlerJan Sommer
- 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
2020-06-11smpsignal01: Change state before sending the signalJan Sommer
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.
2020-06-11bsps/pc386: Separate smp API functions. Makes smpfatal08 linkJan Sommer
2020-06-11bsps/pc386: Fix Clock_isr for SMPJan Sommer
- 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
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-06-11bsp/pc386: Turn start16.S into a startAP.SJan Sommer
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
2020-06-11bsp/pc386: Fix Makefile for building with SMPJan Sommer
2020-06-06tests for fenv.h functionsEshan dhawan
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>
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-08libtests/tar01: Remove files of tar01.tar archiveSebastian Huber
Update #3968.
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-07libtests/tar0[12]: Add tar archiveSebastian Huber
Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
2020-05-06testsuite: Add expected-fail to beagleboneblackChris Johns
Updates #2962
2020-05-06testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706Chris Johns
Updates #2962
2020-05-06testsuite: Add expected-fail to psimChris Johns
Updates #2962
2020-05-06libdl: Add allocator check scriptChris Johns
Use with the trace outout to check for allocation leaks.
2020-05-06testsuite: Add expected-fail to erc32, leon2, and leon3 BSPsChris Johns
Updates #2962
2020-05-06testsuite: Add the BSP architecture to the include pathChris Johns
Updates #2962
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-06libtest/dl09: Test trampolines only when supportedChris Johns
2020-05-05testsuite/dl06: Add a local define to control tracingChris Johns
Closes #3969
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-05-01rtems-bsps: Add markdown supportChris Johns
- Convert to python for better performance
2020-04-29libtests/heapwalk: Fix for RTEMS_DEBUGSebastian Huber
Update #2962.
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-27README: Fix the rtems.git lineChris Johns
Updates #3231
2020-04-20bsps/arm: Fix uninitialized value in generic timerChristian Mauderer
_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.
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-15bsp/imx: Add an extra ecspi clock.Christian Mauderer
Some imx chips or boards don't use the same frequency for ECSPI and IPG. Update #3869