Sebastian Huber
c89a5dc821
samples: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
5ba4f38399
libtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
5176555384
sptests: Remove obsolete semaphore consume driver
...
This driver is no longer used by a test program.
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
e92c495674
spfatal16: Remove obsolete test program
...
The "TRrc" semaphore was removed in commit
2c12262f9a .
2019-11-12 09:36:20 +01:00
Sebastian Huber
a467f59963
sptests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
150fbaf9c9
psxtmtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
f32e119716
psxtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
9f3c558bbc
tests: Remove superfluous SMPTESTS define
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
224ceb0b95
psxfenv01: Check FE_DIVBYZERO define
2019-11-12 08:50:01 +01:00
Sebastian Huber
94584f17ab
heap: Simplify _Heap_Block_allocate()
...
Determine the next block only once and use it throughout.
2019-11-05 12:58:09 +01:00
Sebastian Huber
5630008257
kill: Fix warning
...
Include right header file for kill().
2019-11-05 07:29:01 +01:00
sebastian.huber
3859cd63af
rtems-5: Improve heap fatal error information
...
Update #3806 .
2019-11-05 07:29:00 +01:00
Sebastian Huber
f9648baf65
bsps/arm: Add support for small pages MMU
...
The small page MMU support reduces the granularity for memory settings
through the MMU from 1MiB sections to 4KiB small pages.
Enable it by default on the realview_pbx_a9_qemu BSP.
2019-10-31 09:48:05 +01:00
Sebastian Huber
3fb72b0f1e
arm: Add defines for small pages MMU
2019-10-31 09:45:46 +01:00
Hesham Almatary
044687d335
bsps/riscv: UART - Read reg-shift from DTB to properly set/get registers
2019-10-30 09:30:09 +00:00
Sebastian Huber
7ec08391fe
linkersets: Avoid use of zero-length array
...
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.
2019-10-28 10:00:31 +01:00
Sebastian Huber
a7c86ccb25
config: Avoid zero-length array
...
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.
Close #3799 .
2019-10-28 10:00:31 +01:00
Sebastian Huber
795b167545
score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()
...
Update #3799 .
2019-10-28 10:00:31 +01:00
Sebastian Huber
37e9aa69e5
bsp/xilinx-zynqmp: Fix linkcmds config
...
Bug was introduced by commit 1e1afa3779 .
2019-10-28 10:00:31 +01:00
Hesham Almatary
94481cedc4
riscv: Add new BSP cfg variants to be built with llvm/clang
2019-10-27 10:45:31 +00:00
Hesham Almatary
ce5988e10a
riscv: Add new offending input sections to the linker script
2019-10-27 10:45:20 +00:00
Hesham Almatary
7f0c41c759
riscv: Add NOLOAD directive to the .work section
...
ld.lld defaults .work to PROGBITS otherwise
2019-10-27 10:45:14 +00:00
Hesham Almatary
f462bcbb0a
riscv: Address differences in the linkerscript between GNU LD and LLVM/LLD
...
LLVM/LLD does not support STARTUP and ALIGN_WITH_INPUT directives that
GNU LD support. INPUT and ALIGN(8) are supported by LLVM/LLD and can
replace the unsupported STARTUP/ALIGN_WITH_INPUT directives.
The commit conditionally adds the supported directive that linkers
can understand depending on the toolchain used to compile RTEMS
i.e., clang or gcc. Clang is assumed to use LLD by default.
2019-10-27 10:45:00 +00:00
Hesham Almatary
ca82ded785
riscv: Generate linkcmds.base from the shared linkcmds.base.in
...
This commit moves the existing linkcmds.base to linkcmds.base.in
in order to make it configurable by autotools.
2019-10-27 10:44:52 +00:00
Sebastian Huber
d2efc968e2
bsp/xilinx-zynq: Simplify linkcmds config
...
Use NULL-pointer protection also for Qemu variant.
Do all calculations in the linker command file. This is a preparation
for the new build system.
2019-10-23 14:19:47 +02:00
Sebastian Huber
8c66f1aa06
bsp/xilinx-zynq: Simplify configure.ac
2019-10-23 14:19:47 +02:00
Sebastian Huber
1e1afa3779
bsp/xilinx-zynqmp: Simplify linkcmds config
...
Do all calculations in the linker command file. This is a preparation
for the new build system.
2019-10-23 14:19:47 +02:00
Sebastian Huber
4ecab5865e
bsp/xilinx-zynqmp: Simplify configure.ac
...
Use NULL-pointer protection also for Qemu variant.
2019-10-23 14:19:47 +02:00
Christian Mauderer
9620dfa49e
bsp/atsam: Use PIO for SC16IS752.
...
This allows to mix SC16IS752 chips with other interrupts.
2019-10-23 10:41:34 +02:00
Christian Mauderer
d60b6d7c33
bsp/atsam: Add additional PIO helper.
2019-10-23 10:41:34 +02:00
Christian Mauderer
d4b92da208
bsps/atsam: Improve case for level triggered IRQs.
...
For level triggered interrupts currently the handler would have been
called two times (assuming no one cleared the mask in a handler which
would have been bad because the handler couldn't process all other that
got cleared by accident). This patch allows the handler only to return
if nothing is left to do.
2019-10-23 10:41:34 +02:00
Pragnesh Patel
a7f5e42cc5
riscv: add freedom E310 Arty A7 bsp
...
Added support for Sifive Freedom FE310 soc on Arty A7 FPGA board.
Update #3785 .
Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com >
2019-10-23 08:11:50 +02:00
Chris Johns
32c9b83109
libdebugger/arm: Clean up the building on arm variants.
2019-10-19 15:54:40 +11:00
Chris Johns
2fdbdbc8b1
arm/beanglebone: Fix i2c build error.
2019-10-19 15:53:50 +11:00
Sebastian Huber
e71f0a5358
ttest01: Check init/final run output
...
Update #3199 .
2019-10-11 08:55:53 +02:00
Sebastian Huber
b5e61f95ac
libtest: Add more action events
...
This allows more control over the initialization and finalization run.
Update #3199 .
2019-10-11 08:55:53 +02:00
Mikail Yayla
5a1df5e73e
ttest01: Add test outputs all test cases
2019-10-11 08:55:53 +02:00
Sebastian Huber
feb27f9031
ttest01: Add more test cases
...
Update #3199 .
2019-10-11 08:55:49 +02:00
Sebastian Huber
b406d071ec
libtest: Do all output in test runner
...
This ensures that lines are output atomically if they are produced by
different other contexts, e.g. interrupts, other processors, other
threads.
Update #3199 .
2019-10-11 08:55:49 +02:00
Sebastian Huber
f88025aebe
ttest01: Adjust SPDX-License-Identifier
...
Update #3199 .
2019-10-11 08:55:46 +02:00
Sebastian Huber
698732a6c4
Add CC-BY-SA-4.0 license text
...
Retrieved from:
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
This license is inteded for code which is shared with the documentation,
e.g code examples. Such code should be dual licensed BSD-2-Clause or
CC-BY-SA-4.0 with the following license identifier:
SPDX-License-Identifier: BSD-2-Clause OR CC-BY-SA-4.0
2019-10-11 08:38:55 +02:00
Hesham Almatary
43a6991a42
Add myself to the MAINTAINERS
2019-10-10 14:25:52 +01:00
Joel Sherrill
667501a314
termios: Add Capability to Generate SIGINTR and SIGQUIT
...
This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html
Closes #3800 .
2019-10-08 14:25:41 -05:00
Joel Sherrill
ff4a4a862b
termios04/init.c: Remove dead copy of change_iflag()
2019-10-04 09:13:28 -05:00
Joel Sherrill
7685b48f40
cpukit/headers.am: Regenerate
2019-10-04 09:12:55 -05:00
Sebastian Huber
8d989c56ff
score: Install timecounter according to quality
...
This makes it possible to install higher quality timecounter in
plug-and-play systems and helps to override the clock driver provided
timecounter in some test scenarios.
2019-10-02 07:01:36 +02:00
Sebastian Huber
47e5c1d7cd
score: Remove strange timecounter init step
...
The double call of the timecounter get method was added to FreeBSD in
2002 without a comment. It is not clear why this is needed.
2019-10-02 07:01:36 +02:00
Sebastian Huber
2763f530d3
score: Remove superfluous timecounter members
2019-10-02 07:01:36 +02:00
Sebastian Huber
6ae25220d6
Revert "record: Add wrappers for malloc() functions"
...
It was accidentally committed.
This reverts commit a314544a27 .
2019-10-02 06:40:30 +02:00
Sebastian Huber
1b84d2b360
libtests/ttest01: Fix typos
2019-10-02 06:38:07 +02:00