Sebastian Huber
cb406870aa
Change RTEMS_API from 5.0 to 5
...
This fixes the legacy Makefile based build system which expects
RTEMS_API to be identical to the tool chain version.
Update #3220 .
2017-11-13 08:39:54 +01:00
Martin Erik Werner
f5b3c0244c
Fix bashism in vc-key.sh
...
Change "==" to "=", since "==" for comparison is not available in POSIX
sh.
Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com >
2017-11-13 08:13:16 +11:00
Chris Johns
e6df806a3f
tests: Use ld to map (wrap) printf, puts and putchar to tester functions.
...
- Remove the macro defines and the need for tmacro.h by remapping the
symbols using ld's wrap option.
- Remove FLUSH_OUTPUT, it was empty.
- Move rtems_test_exit to libmisc/testsupport as a function.
Update #3199 .
2017-11-11 16:14:59 +11:00
Chris Johns
bcd0c06c9b
tests: Use rtems_test_begin and rtems_test_end.
...
Add a tests enum and move all test banner test to the library in libmisc.
Update #3199 .
2017-11-11 16:14:59 +11:00
Joel Sherrill
a6bf052a3b
mvme162: Fix errors tripped by transition to using polled IO for tests
2017-11-10 14:40:46 -06:00
Joel Sherrill
cba8970e80
mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts
2017-11-10 14:40:46 -06:00
Joel Sherrill
52841b5800
csb360/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts
2017-11-10 14:40:46 -06:00
Chris Johns
6f3fb8a547
cpukit: Add a Version API.
...
Provide functions to get the version string, major, minor and revision
numbers and the version control identifer that is a unique tag for
the version control system.
Update #3199 .
2017-11-10 13:34:06 +11:00
Joel Sherrill
748a12629a
pppd/Makefile.am: Add support/include
2017-11-09 15:06:19 -06:00
Sebastian Huber
b225aa1fc1
Reject incompatible tool chains
...
Update #3185 .
2017-11-09 13:39:03 +01:00
Sebastian Huber
5f02a57478
score: Change _Timecounter_Time_uptime to int32_t
...
Move basic timecounter API shared with BSD network stack to
<machine/_timecounter.h>.
Update #3185 .
2017-11-09 08:12:12 +01:00
Sebastian Huber
4a14751879
Upgrade to 5.0.0
...
Tool name will be "rtems5", e.g. arm-rtems5-gcc.
Next release will 5.1.0. Branch version after release will be 5.1.1.
Next master will be 6.0.0.
2017-11-09 08:12:11 +01:00
Sebastian Huber
64ba1a9606
posix: Change created_with_explicit_scheduler
...
Remove POSIX_API_Control::created_with_explicit_scheduler. Add
Thread_Control::was_created_with_inherited_scheduler. This fixes also
pthread_getattr_np() for Classic tasks.
Update #2514 .
2017-11-09 08:12:11 +01:00
Sebastian Huber
7147dc43b8
posix: Remove POSIX_API_Control::schedpolicy
...
Use the thread CPU budget algorithm to determine the scheduler policy.
This fixes also pthread_getschedparam() for Classic tasks.
Update #2514 .
2017-11-09 08:12:11 +01:00
Sebastian Huber
8d0a0aa448
sptests/spconsole01: New test
2017-11-08 13:14:31 +01:00
Sebastian Huber
7078a00b13
bsp/t32mppc: Use fixed exception handlers
2017-11-08 13:14:30 +01:00
Sebastian Huber
fdf0e55cf9
bsp/imx: Add UART baud change
...
Update #3090 .
2017-11-08 08:43:27 +01:00
Sebastian Huber
336fe3b9fd
bsp/imx: Better utilize UART transmit FIFO
...
Update #3090 .
2017-11-08 08:43:27 +01:00
Sebastian Huber
791469bd4f
termios: Fix canonical mode
...
In canonical mode, input is made available line by line. We must stop
the canonical buffer filling upon reception of an end-of-line character.
Close #3218 .
2017-11-07 08:31:40 +01:00
Sebastian Huber
1055ff2020
tests: Use normal console for user input tests
2017-11-07 08:31:40 +01:00
Sebastian Huber
32ceb38513
tests: Use <tmacros.h>
...
Update #3170 .
Update #3199 .
2017-11-07 08:31:40 +01:00
Sebastian Huber
fb272963a6
score: Use Processor_mask instead of cpu_set_t
2017-11-06 09:06:21 +01:00
Sebastian Huber
0c286e3d7c
score: _Chain_Insert_ordered_unprotected()
...
Change the chain order relation to use a directly specified left hand
side value. This is similar to _RBTree_Insert_inline() and helps the
compiler to better optimize the code.
2017-11-06 09:06:21 +01:00
Sebastian Huber
bceb9db600
score: Remove superfluous include
...
Update #3059 .
2017-11-06 09:06:21 +01:00
Sebastian Huber
7b00c2fac5
tests: Use <tmacros.h> in all tests
...
Update #3170 .
Update #3199 .
2017-11-06 09:06:20 +01:00
Sebastian Huber
d71542c8be
fsjffs2gc01: Fix sporadic test failures
2017-11-06 09:06:20 +01:00
Sebastian Huber
c4b8b147dd
tests: Use simple console driver
...
Update #3170 .
Update #3199 .
2017-11-06 07:26:42 +01:00
Sebastian Huber
ac28f1588d
Add simple console driver
...
Update #3170 .
Update #3199 .
2017-11-06 07:25:51 +01:00
Sebastian Huber
10827984c2
score: Add _IO_Printf() and _IO_Vprintf()
...
The previous vprintk() implementation had a questionable licence header,
lacks support for the 'z' and 'j' format specifiers, is not robust
against invalid format specifiers, uses a global variable for output.
Replace it with a stripped down version of the FreeBSD kernel kvprintf()
function.
The new implementation allows a low overhead rtems_snprintf() if
necessary.
Update #3199 .
Close #3216 .
2017-11-06 07:25:51 +01:00
Sebastian Huber
a54d10d177
smpscheduler02: Avoid sporadic test failures
2017-11-03 12:58:58 +01:00
Sebastian Huber
3e81d52e27
posix: Use far future for very long timeouts
...
Close #3205 .
2017-11-02 14:08:32 +01:00
Sebastian Huber
8c1f4064ad
tests: Use printf() instead of fprintf()
...
Update #3170 .
Update #3199 .
2017-11-02 14:08:32 +01:00
Sebastian Huber
0d796d6dc7
tests: Delete obsolete TESTS_USE_PRINTF
...
Update #3170 .
Update #3199 .
2017-11-02 14:08:32 +01:00
Sebastian Huber
4438c4d826
bsp/imx: More robust and faster bsp_reset()
...
Update #3090 .
2017-11-02 13:44:01 +01:00
Sebastian Huber
4b055e23e9
bsp/imx: Drain console before reset
...
Update #3090 .
2017-11-02 11:24:00 +01:00
Sebastian Huber
c52a9682c1
bsp/imx: Implement bsp_reset()
...
Update #3090 .
2017-11-02 11:23:59 +01:00
Sebastian Huber
81fd79daf0
smppsxaffinity02: Fix thread attribute usage
...
The pthread_getattr_np() returns now the stack address and size. Do not
use this stack for the new threads.
Update #2514 .
Update #3145 .
Update #3168 .
2017-11-02 11:23:17 +01:00
Hesham Almatary
8fa827cc83
bsp: Make riscv_generic work for both riscv32 and riscv64 - v2
...
Update #3109
2017-11-01 10:11:20 +11:00
Hesham Almatary
11ff3a9e72
cpukit: RISC-V - make riscv32 code work for riscv64 - v2
...
* Use #ifdefs for 32/64 bit code
* Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size)
* Move the code to a new shared riscv folder to be shared between riscv32 and riscv64
* Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv
Update #3109
2017-11-01 10:10:27 +11:00
Chris Johns
2126438a07
testsuite: Add bspIo for a local printk.
...
Update #3170 .
Update #3199 .
2017-10-30 16:30:11 +11:00
Sebastian Huber
9db3cc21e9
score: Fix non-SMP build
2017-10-29 07:38:37 +01:00
Sebastian Huber
af4355459e
tests: Remove TEST_INIT
...
The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.
Update #3170 .
Update #3199 .
2017-10-28 13:33:56 +02:00
Sebastian Huber
acc9d06468
tests: Remove obsolete TESTS_USE_PRINTK
...
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
7e1029158e
tests: Use rtems_test_printer in general
...
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
46ddc3c5da
tests: Use rtems_print_printer_fprintf_putc()
...
Use rtems_print_printer_fprintf_putc() instead of
rtems_print_printer_printf() to output via rtems_putc().
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
73d892d8a8
tests: Use rtems_test_printer
...
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
7bec7f2715
rtems: Add rtems_print_printer_fprintf_putc()
...
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
f703e7f5c7
tests: Move rtems_test_printer definition
...
Statically initialize it to use printk().
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
cf614eca60
riscv32: Add missing preinstall.am
...
Update #3109 .
2017-10-28 13:33:55 +02:00
Sebastian Huber
0719fc6ec7
sptests/spscheduler01: Test POSIX set/get affinity
2017-10-28 13:13:09 +02:00