Commit Graph

33398 Commits

Author SHA1 Message Date
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
Sebastian Huber
099ab00d16 config: Fix _ISR_Stack_area_end
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-08 19:22:34 +02:00
Sebastian Huber
3a882e5bc3 score: Add and use RTEMS_SYMBOL_NAME()
Update #3799.
2020-04-08 19:22:32 +02:00
Eshan dhawan
81e25245fc Tests for inttype.h methods 2020-04-07 16:17:18 -06:00
Joel Sherrill
f4935345de lpc23xx_tli800-testsuite.tcfg: Add psxaoi03 and psxsignal07
Updates #3938.
2020-04-07 17:13:18 -05:00
Joel Sherrill
af7e519ec9 mcf52235-testsuite.tcfg: Add sp16
Updates #3938.
2020-04-07 17:11:53 -05:00
Joel Sherrill
a7ea726fbd lpc1768_mbed-testsuite.tcfg: Add psxaoi03 and psxsignal07
Updates #3938.
2020-04-07 17:11:32 -05:00