Daniel Krueger
5049dca6c5
semunlink.c: Add missing _Objects_Allocator_unlock()
...
updates 2319.
Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com >
2015-04-14 12:12:40 -05:00
Joel Sherrill
fc0756e8d9
Add test assertion for allocator mutex being unlocked
...
The Allocator Mutex should not be locked outside a tested
service call. In an SMP test or heavily multithreaded test,
this is possible since another thread could have the lock
for an extended period of time but this is not the norm
for the tests.
updates 2319.
2015-04-14 11:17:10 -05:00
Hesham ALMatary
0a73de2fc8
or1ksim: Fix bug at UART driver.
...
Fix some UART register addresses and implementation bugs that
were causing malfunction of console driver on real hardware.
hello and ticker samples are tested and working fine now on mor1kx
based SoC on Atlys FPGA board.
BSP_OR1K_OR1KSIM_PERIPHCLK has been changed to 50MHz as with mor1kx/atlys
SoC; this change has no effect on the current simulators that RTEMS run
on.
2015-04-14 11:10:14 -05:00
Sebastian Huber
1dc6662276
score: Rename _Watchdog_Reset()
...
Update #2307 .
2015-04-14 08:21:51 +02:00
Sebastian Huber
54cf0e34c5
score: Add Watchdog_Header
...
This type is intended to encapsulate all state to manage a watchdog
chain.
Update #2307 .
2015-04-13 13:39:26 +02:00
Sebastian Huber
bcf536a50a
score: Split _Watchdog_Adjust()
...
Split _Watchdog_Adjust() into _Watchdog_Adjust_backward() and
_Watchdog_Adjust_forward(). Remove Watchdog_Adjust_directions,
_Watchdog_Adjust_seconds() and _Watchdog_Adjust_ticks(). This avoids to
check the same condition again.
Update #2307 .
2015-04-13 13:08:55 +02:00
Thomas Volgmann
a1d6f7a405
bsp/altera-cyclone-v: Add RTC driver
2015-04-10 08:23:00 +02:00
Daniel Krueger
a6c5a7e0b6
arm: Align ARM exception frame to 8 bytes
...
The stack pointer must be aligned on 8 byte boundary on ARM, so the size of
the exception frame must be a multiple of 8 bytes. Otherwise we might/will
get an alignment fault, when executing code in the data abort handler for
example.
Close #2318 .
Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com >
2015-04-10 08:12:14 +02:00
Alan Cudmore
044c7d8280
Add hardware FPU flags for Raspberry Pi 2 BSP
2015-04-09 14:35:10 -04:00
Sebastian Huber
41814fa648
score: Fix thread queue race condition
...
On uni-processor configurations the change of the thread blocking state
in _Thread_queue_Requeue_priority() did no harm and was simply useless.
However on SMP configurations this resulted in invalid state changes
leading to a wrong resource ownership.
2015-04-09 13:54:17 +02:00
Sebastian Huber
1461aba8da
score: Use _Thread_Clear_state() for _Thread_Ready
2015-04-08 11:48:15 +02:00
Sebastian Huber
edcf89b6f2
rtems: Atomically suspend/resume tasks
2015-04-08 11:48:15 +02:00
Sebastian Huber
342708b983
score: Return prev state in thread state set/clear
2015-04-08 11:48:12 +02:00
Sebastian Huber
ca10004ef2
score: Simplify _Thread_Set_state()
2015-04-08 10:25:33 +02:00
Sebastian Huber
f820f22cf0
fstests/fsfseeko01: Fix for long == off_t
...
Close #2317 .
2015-04-08 07:46:10 +02:00
Sebastian Huber
9baffdf7e4
score: Move _Watchdog_Ticks_since_boot definition
2015-04-08 07:40:22 +02:00
Joel Sherrill
45491a8804
lm32 BSPs: Add lm32_evr variant for running on gdb.
...
Lay groundwork for a simulator configuration configuration
for the Milkymist. This is needed to use the shared code.
2015-04-05 15:49:32 -05:00
Joel Sherrill
d0307c8a06
or1ksim-testsuite.tcfg: new file
2015-04-03 16:18:40 -05:00
Joel Sherrill
fd50acd54f
shell/main_rtrace.c: Fix warning
2015-04-03 15:08:20 -05:00
Joel Sherrill
475ff0a748
ods68302-testsuite.tcfg: Add fileio
2015-04-03 15:08:01 -05:00
Joel Sherrill
6601619807
rtl22xx-testsuite.tcfg: Add fileio
2015-04-03 15:07:47 -05:00
Hesham ALMatary
1c8466165c
or1k: Send halt signal to or1k simulators when rtems terminates
2015-04-02 10:01:50 -05:00
Sebastian Huber
aae6c21810
bsp/altera-cyclone-v: Fix define usage
2015-04-02 08:31:09 +02:00
Sebastian Huber
504e042d86
capture: Define __rtld_tbg_lock
2015-04-02 08:28:12 +02:00
Joel Sherrill
c966b4dc35
simsh*: Disable interrupt critical section tests
...
These do not run reliably on this simulator.
2015-04-01 09:39:42 -05:00
Joel Sherrill
ef3bcef890
jmr3904-testsuite.tcfg: New file
2015-04-01 09:39:42 -05:00
Joel Sherrill
7824d15fa4
disable-intrcritical-tests.tcfg: New file
...
This file contains the list of interrupt critical section tests.
There are some simulators these are unreliable on so they should
just be ignored.
2015-04-01 09:39:42 -05:00
Alexander Krutwig
2da28d2bee
psxtmtests: Use timeout in more distant future
...
Adds future compatibility with strict monontonic software timestamps.
2015-03-31 15:16:43 +02:00
Alexander Krutwig
15031660b8
fstests: Increase stack size for symlink loop test
2015-03-31 15:15:23 +02:00
Alexander Krutwig
260cfe0500
fstests/fssymlink: Typo
2015-03-31 15:15:23 +02:00
Chris Johns
7790fec1c2
testsuites: dl02 needs an FPU init task.
2015-03-31 17:04:43 +11:00
Chris Johns
a300920de1
libmisc/shell: Add the rtrace command for buffered tracing support.
...
The rtrace command interfaces to the RTEMS Trace Linker's trace
buffering data allowing users to capture and report trace data.
2015-03-31 17:04:43 +11:00
Martin Galvan
ec8f3cbd6f
TMS570: Add board reset code to bsp_reset
2015-03-31 07:57:04 +02:00
Martin Galvan
89fffa66b1
TMS570: Enable FPU in makefile.
2015-03-27 09:27:39 +01:00
Sebastian Huber
1a6683aa57
libcsupport: Include missing header file
2015-03-26 21:37:33 +01:00
Sebastian Huber
cb4dd48e06
sparc: Ensure interrupt service after ISR enable
2015-03-25 13:17:54 +01:00
Sebastian Huber
10a699d3fc
testsupport: Generate unique worker names
2015-03-25 11:46:20 +01:00
Sebastian Huber
8aa967c3a4
bsp/altera-cyclone-v: Typo
2015-03-25 11:46:12 +01:00
Sebastian Huber
e7e86ba65f
smpmigration01: Delete timing dependent assert
...
The cycles per runner depends too heavily on the hardware timing making
the assert unreliable. Delete runner tasks before we print out the
status.
2015-03-25 11:46:04 +01:00
Sebastian Huber
4f10ed61d0
smptests/smpfatal08: Workaround for QorIQ BSPs
2015-03-24 14:35:05 +01:00
Sebastian Huber
a54866e910
monitor: Fix notepad dump
2015-03-24 14:35:05 +01:00
Sebastian Huber
ad57a59bac
score: Fix MrsP ISR/task sychronization
2015-03-24 14:35:05 +01:00
Sebastian Huber
4054c91646
score: Add scheduler acquire/release
...
This is currently a global lock for all scheduler instances. It should
get replaced with one lock per scheduler instance in the future.
Update #2273 .
2015-03-24 14:35:05 +01:00
Sebastian Huber
3134eb8267
score: Use a dedicated ISR lock for thread queues
...
This makes it possible to use the standard thread queues in combination
with objects using fine grained locking. There is no change for
uni-processor configurations.
Update #2273 .
2015-03-24 14:35:04 +01:00
Sebastian Huber
57947f137c
score: Add thread lock
...
Update #2273 .
2015-03-24 14:35:04 +01:00
Sebastian Huber
2e9c3d5e29
score: Add thread priority change handler
...
Since the thread current priority change and thread queue requeue is
performed in one critical section it is possible to simplify the thread
queue requeue procedure. Add a thread queue agnostic thread priority
change handler so that we are able to use alternative thread queue
implementations.
Update #2273 .
2015-03-24 14:35:04 +01:00
Joel Sherrill
e02b20a3d3
cpukit/libmisc/utf8proc/utf8proc.c: Avoid overflow
2015-03-24 08:17:13 -05:00
Joel Sherrill
0771936eab
libdl/rtl-shell.c: Adjust printf() format for off_t based on target
2015-03-24 08:17:04 -05:00
Joel Sherrill
dd23125a88
testsuites/sptests/sp54/init.c: Add cast to avoid warning
2015-03-24 08:17:02 -05:00
Joel Sherrill
d05d31ff41
samples/minimum/init.c: Add cast to avoid warning
2015-03-24 08:17:00 -05:00