Jan Sommer
c954003fa0
bsps/pc386: Fix Clock_isr for SMP
...
- 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-11 13:29:18 +10:00
Jan Sommer
5d4a1edca0
bsp/pc386: Define interrupt stack frame for smp
...
- Defines CPU_Interrupt_frame in cpu_impl.h
- Updates isq_asm.S to save/restore registers in matching order to
interrupt frame
2020-06-11 13:29:11 +10:00
Jan Sommer
8937f12f18
bsp/pc386: Update context switch and restore
...
Uses similar flow in cpu_asm.S for i386 as for arm.
2020-06-11 13:29:03 +10:00
Jan Sommer
85d6a760f5
bsp/pc386: Update GDT to work for SMP
...
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-11 13:28:55 +10:00
Jan Sommer
f99b1f02b0
bsp/pc386: Turn start16.S into a startAP.S
...
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-11 13:28:46 +10:00
Jan Sommer
a2b7ab0385
bsp/pc386: Fix Makefile for building with SMP
2020-06-11 13:28:36 +10:00
Eshan dhawan
e84587355a
tests for fenv.h functions
...
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-06-06 15:24:59 -05:00
Sebastian Huber
bd750c9e6e
arm: Fix ARMv7-M exception handler
...
Store the stack pointer of the exception context to the exception frame.
Close #3987 .
2020-05-27 10:25:12 +02:00
Sebastian Huber
934cbe7d9f
posix: Get real priority in pthread_getattr_np()
...
This is in line with pthread_setschedparam() and
pthread_getschedparam().
Update #2514 .
2020-05-12 07:08:16 +02:00
Sebastian Huber
ea2d9237fc
libtests/tar01: Remove files of tar01.tar archive
...
Update #3968 .
2020-05-08 15:12:40 +02:00
Sebastian Huber
153b26699e
termios: Replace rtems_termios_isig_status_code
...
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-07 12:31:56 +02:00
Sebastian Huber
ef9517b7d5
libtests/tar0[12]: Add tar archive
...
Do not generate the test tar archive on the host computer since not all
file systems support symbolic links.
Close #3968 .
2020-05-07 12:31:56 +02:00
Chris Johns
084ea83a9b
testsuite: Add expected-fail to beagleboneblack
...
Updates #2962
2020-05-06 18:40:42 +10:00
Chris Johns
7e3af67349
testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706
...
Updates #2962
2020-05-06 18:40:27 +10:00
Chris Johns
1b1755d9a6
testsuite: Add expected-fail to psim
...
Updates #2962
2020-05-06 18:39:55 +10:00
Chris Johns
e9762d74b8
libdl: Add allocator check script
...
Use with the trace outout to check for allocation leaks.
2020-05-06 18:39:15 +10:00
Chris Johns
7d00247497
testsuite: Add expected-fail to erc32, leon2, and leon3 BSPs
...
Updates #2962
2020-05-06 18:39:05 +10:00
Chris Johns
89f57a665f
testsuite: Add the BSP architecture to the include path
...
Updates #2962
2020-05-06 18:38:38 +10:00
Sebastian Huber
3ce3cdfc5b
score: Update _Copyright_Notice
...
Add the _Copyright_Notice to a special linker set to prevent a garbage
collection of this item.
2020-05-06 08:02:15 +02:00
Sebastian Huber
d30a352d4c
rtems: Deprecate _Copyright_Notice
...
Close #3973 .
2020-05-06 08:01:57 +02:00
Sebastian Huber
1af8e45bb7
rtems: Add rtems_get_copyright_notice()
...
Update #3973 .
2020-05-06 07:47:34 +02:00
Sebastian Huber
63274daf68
rtems: Deprecate <rtems/system.h>
...
Close #3972 .
2020-05-06 07:47:34 +02:00
Sebastian Huber
3d86d83c1b
rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTH
...
This define is
* not documented,
* not used in the RTEMS code base, and
* longer than sizeof(rtems_name).
Close #3971 .
2020-05-06 07:46:29 +02:00
Sebastian Huber
34b098edc5
rtems: Deprecate use of _RTEMS_version
...
Close #3970 .
2020-05-06 07:39:10 +02:00
Sebastian Huber
4b9b6ddb9f
Use rtems_get_version_string()
...
Update #3970 .
2020-05-06 07:39:09 +02:00
Chris Johns
e78c0806cb
libtest/dl09: Test trampolines only when supported
2020-05-06 08:46:57 +10:00
Chris Johns
3f50e8e671
testsuite/dl06: Add a local define to control tracing
...
Closes #3969
2020-05-05 15:00:45 +10:00
Chris Johns
b7702c541c
libdl/rap: Correctly check the return enum from rela calls
...
- 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-05 14:58:27 +10:00
Chris Johns
3635d6a836
libdl/obj-comp: Add trace prints when decompressing
...
Updates #3969
2020-05-05 14:57:34 +10:00
Chris Johns
d5fc2a6ad6
libdl/obj-cache: Fail if the read offset is past the file length
...
- The check was for greater than and not equal or greater
Updates #3969
2020-05-05 14:55:34 +10:00
Chris Johns
b77670fd3f
libdl/obj: Fix RAP format call table.
...
Updates #3969
2020-05-05 14:54:39 +10:00
Chris Johns
fe77587c64
libdl/sparc: Print trace message of reloc failture path
...
Updates #3969
2020-05-05 14:53:53 +10:00
Chris Johns
285cda38e1
libdl: Fix comment.
...
Updates #3969
2020-05-05 14:53:14 +10:00
Chris Johns
f767355d39
rtems-bsps: Add markdown support
...
- Convert to python for better performance
2020-05-01 18:03:49 +10:00
Sebastian Huber
a8f0d941c3
libtests/heapwalk: Fix for RTEMS_DEBUG
...
Update #2962 .
2020-04-29 06:58:16 +02:00
Sebastian Huber
cfe8f7a9b7
doxygen: Switch @brief and @ingroup
...
This order change fixes the Latex documentation build via Doxygen.
2020-04-28 09:04:00 +02:00
Chris Johns
0b41675971
libdl/mips: Fix MIPS16hi/lo relocation support.
...
This patch is an updated version from:
https://lists.rtems.org/pipermail/users/2016-January/029740.html
Closes #3693
2020-04-28 13:58:20 +10:00
Chris Johns
396e98305e
README: Fix the rtems.git line
...
Updates #3231
2020-04-27 11:35:21 +10:00
Christian Mauderer
222d687969
bsps/arm: Fix uninitialized value in generic timer
...
_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-20 09:07:35 +02:00
Sebastian Huber
3d73642d9e
sapi: Add param check to rtems_extension_create()
...
Check that the extensions table is not NULL. Change format.
Update #3953 .
2020-04-17 19:51:11 +02:00
Sebastian Huber
80cf60efec
Canonicalize config.h include
...
Use the following variant which was already used by most source files:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
2020-04-16 07:30:00 +02:00
Sebastian Huber
8f808c1b9a
libnetworking: Remove config.h include in header
2020-04-16 07:30:00 +02:00
Christian Mauderer
0121954128
bsp/imx: Add an extra ecspi clock.
...
Some imx chips or boards don't use the same frequency for ECSPI and IPG.
Update #3869
2020-04-15 16:13:07 +02:00
Chris Johns
d007cc2cee
libmisc/shell: Fix the handling of joel scripts in telnet
...
- 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-15 08:30:30 +10:00
Sebastian Huber
4f32722e33
config: Fix typo
...
Update #3875 .
2020-04-14 16:29:52 +02:00
Sebastian Huber
ea227af2d4
score: Check time of day in _TOD_Set()
...
Close #3949 .
2020-04-14 07:19:53 +02:00
Sebastian Huber
fb07f730c1
score: Return status in _TOD_Set()
...
Update #3949 .
2020-04-14 07:19:53 +02:00
Sebastian Huber
d35722e66c
bsps/riscv: Fix multiple definition
2020-04-10 19:56:50 +02:00
G S Niteesh Babu
19efa9a0b9
bsp/raspberrypi: Fix build warnings.
...
1) _Memory_Initialize makes pointer from integer
without a cast.
2) printf format error, expects %u but %lu provided.
2020-04-10 08:27:18 -05:00
Sebastian Huber
840f21ddc7
score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()
...
Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL().
Update #3799 .
2020-04-08 19:22:36 +02:00