Commit Graph

27647 Commits

Author SHA1 Message Date
Joel Sherrill
867a54a276 gensh1/include/bsp.h: Add needed prototype 2015-03-09 16:14:16 -05:00
Joel Sherrill
52c56af032 gensh4/include/bsp.h: Remove unused prototype and include 2015-03-09 16:14:16 -05:00
Joel Sherrill
a1148f3667 powerpc/shared/bootloader/pci.c: Remove warnings 2015-03-09 16:14:15 -05:00
Joel Sherrill
315926703e shared/include/grcan.h: Add prototypes to fix warnings 2015-03-09 16:14:15 -05:00
Sebastian Huber
40ecd117b2 sysconf: Add _SC_NPROCESSORS_(CONF|ONLN) 2015-03-09 15:25:24 +01:00
Sebastian Huber
8552df6514 sysconf: Simplify 2015-03-09 15:25:17 +01:00
Sebastian Huber
19799fb0f7 libtests/stringto01: Fix for GCC 5.0 2015-03-09 13:52:49 +01:00
Sebastian Huber
bf11690ca2 network: Avoid clash with FreeBSD <sys/time.h> 2015-03-09 13:16:06 +01:00
Sebastian Huber
25ce352bcb score: Fix for GCC version 5 and later 2015-03-09 11:43:55 +01:00
Sebastian Huber
7b4e81d0c1 score: Typo
Close #2286.
2015-03-09 08:51:55 +01:00
Joel Sherrill
19a1f6b2cc Temporarily disable libdl for h8300
The h8300 gets a linking error for the dl0* tests. This temporarily
disables libdl until that can be investigated.

updates 2284.
2015-03-06 20:04:25 -06:00
Joel Sherrill
1ae60ae5cf Add fsscandir01 variants as needed to more BSPs testsuite configuration 2015-03-06 20:04:25 -06:00
Joel Sherrill
dea43a0da6 Temporarily ignore dl* tests on some PowerPC BSPs
Some BSPs have issues linking the dl* tests. These issues have
not been investigated. This is a temporary workaround until we
have an explanation and permanent solution.

updates 2258.
2015-03-06 20:04:25 -06:00
Joel Sherrill
7af34c13d7 Always disable networking for h8300 2015-03-06 20:04:25 -06:00
Joel Sherrill
e516d4546d Temporarily disable libdl tests on some MIPS BSPSs
These BSPs are little endian while most are big endian.
The dl tool does not support the -EL option yet.

updates 2279.
2015-03-06 20:04:24 -06:00
Joel Sherrill
ee113c22f8 dltests-broken-on-this-bsp.tcfg: New file used for dl* tests work around 2015-03-06 20:04:24 -06:00
Joel Sherrill
a726ca6488 Temporarily disable libdl for lm32
There is a GCC ICE when building libdl. This temporarily disables
building libdl until that is resolved.

updates 2283.
2015-03-06 20:04:24 -06:00
Joel Sherrill
1d061ee37e Temporarily disable libdl for v850
There is an issue linking dl0* which has not been resolved.
This issue is being tracked but is not considered a release
blocker. This patch is a workaround which disables libdl
for the v850 until the ticket is resolved.

updates 2260.
2015-03-06 20:04:24 -06:00
Joel Sherrill
9bef63ea8e Temporarily disable libdl for bfin
There is an issue linking dl0* which has not been resolved.
This issue is being tracked but is not considered a release
blocker. This patch is a workaround which disables libdl
for the bfin until the ticket is resolved.

updates 2252.
2015-03-06 20:04:23 -06:00
Joel Sherrill
683ebac31c raspberrypi: Do not include default IRQ handler and BSP specific one
This was tripping a linker error in the dl0[12] tests.

closes 2247.
2015-03-06 20:04:23 -06:00
Joel Sherrill
a87e8b8d2d lpc1768_mbed_ahb_ram-testsuite.tcfg: Add ftp01 2015-03-06 20:04:23 -06:00
Joel Sherrill
8f49ddaf0a lpc1768_mbed_ahb_ram.tcfg: Remove as it is a junk file
This file does not have "-testsuite" in the name and is ignored
by the build system.
2015-03-06 20:04:23 -06:00
Joel Sherrill
a7e4de2504 Fix even more Doxygen issues 2015-03-06 14:33:08 -06:00
Joel Sherrill
325a61d524 coremuteximpl.h: Reorder macro names to match body and fix Doxygen warnings
closes 2285.
2015-03-06 14:06:49 -06:00
Joel Sherrill
e0eb07a22b Fix more Doxygen typos 2015-03-06 13:26:12 -06:00
Joel Sherrill
cc69334f42 Fix a number of minor Doxygen formatting issues 2015-03-06 10:37:55 -06:00
Alexander Krutwig
33b72fde61 testsupport: Add cascade option to parallel test 2015-03-06 16:20:20 +01:00
Sebastian Huber
2bd71d95b6 shell: Add PROFREPORT command 2015-03-06 16:20:00 +01:00
Sebastian Huber
bf9d387fcb score: Allow NULL for SMP lock name 2015-03-06 16:20:00 +01:00
Joel Sherrill
c096dc1d1e doc: Update Ada User Guide to match C 2015-03-06 07:42:56 -06:00
Sebastian Huber
da06fe948c score: Fix SMP lock implementation
See also:

https://nahratzah.wordpress.com/2012/10/12/a-trivial-fair-spinlock/

http://concurrencyfreaks.blogspot.de/2014/05/relaxed-atomics-optimizations-for.html
2015-03-06 13:20:44 +01:00
Sebastian Huber
5fca9ef5a2 bsps: Use interrupt lock for interrupt server 2015-03-05 14:54:09 +01:00
Sebastian Huber
f3a57820f7 bsp/qoriq: Fix warning 2015-03-05 14:53:47 +01:00
Sebastian Huber
7183f1cd8d score: Add compiler memory barrier to atomic ops 2015-03-05 11:51:25 +01:00
Sebastian Huber
7d6e94b12a score: Implement fine-grained locking for events
Use the ISR lock of the thread object to protect the event state and
use the Giant lock only for the blocking operations.

Update #2273.
2015-03-05 11:36:45 +01:00
Sebastian Huber
4c8a0acc3d score: Add thread wait flags
Update #2273.
2015-03-05 11:36:45 +01:00
Sebastian Huber
5b393fa5b5 score: Add thread acquire
Update #2273.
2015-03-05 11:36:44 +01:00
Sebastian Huber
43e1573c1f score: Add ISR lock to Objects_Control
This enables per-object SMP locks on SMP configurations and is the first
step to support fine-grained locking.  On uni-processor configuration
there will be no overhead.  The _Objects_Acquire() is intended to
replace _Objects_Get_isr_disable().

Update #2273.
2015-03-05 11:36:40 +01:00
Sebastian Huber
1512761142 score: Thread dispatch dis/enable without Giant
Update #2273.
2015-03-05 11:36:20 +01:00
Sebastian Huber
222dc77583 score: Add and use _Thread_Do_dispatch()
The _Thread_Dispatch() function is quite complex and the time to set up
and tear down the stack frame is significant.  Split this function into
two parts.  The complex part is now in _Thread_Do_dispatch().  Call
_Thread_Do_dispatch() in _Thread_Enable_dispatch() only if necessary.
This increases the average case performance.

Simplify _Thread_Handler() for SMP configurations.

Update #2273.
2015-03-05 11:36:19 +01:00
Sebastian Huber
6157743d67 score: Simplify and fix signal delivery
Deliver the POSIX signals after the thread state was updated to avoid
race-conditions on SMP configurations.

Update #2273.
2015-03-05 11:36:19 +01:00
Sebastian Huber
b8a5abf3fa score: Update _Thread_Heir only if necessary
Previously, the _Thread_Heir was updated unconditionally in case a new
heir was determined.  The _Thread_Dispatch_necessary was only updated in
case the executing thread was preemptible or an internal thread was
unblocked.  Change this to update the _Thread_Heir and
_Thread_Dispatch_necessary only in case the currently selected heir
thread is preemptible or a dispatch is forced.  Move the schedule
decision into the change priority operation and use the schedule
operation only in rtems_task_mode() in case preemption is enabled or an
ASR dispatch is necessary.  This is a behaviour change.  Previously, the
RTEMS_NO_PREEMPT also prevented signal delivery in certain cases (not
always).  Now, signal delivery is no longer influenced by
RTEMS_NO_PREEMPT.  Since the currently selected heir thread is used to
determine if a new heir is chosen, non-preemptible heir threads
currently not executing now prevent a new heir.  This may have an
application impact, see change test tm04.  Document this change in sp04.

Update #2273.
2015-03-05 11:36:19 +01:00
Sebastian Huber
81b03c62a6 score: Add and use PRIORITY_PSEUDO_ISR 2015-03-05 11:36:19 +01:00
Sebastian Huber
77510c72dc libmd: Disable SHA modules for m32c
Close #2219.
2015-03-05 11:34:01 +01:00
Sebastian Huber
16b2de3545 capture: Fix warnings 2015-03-05 11:33:57 +01:00
Sebastian Huber
c735cd5a1f dosfs: Fix warnings 2015-03-05 11:23:10 +01:00
Sebastian Huber
6fd5b4e486 tests: Fix warning 2015-03-05 11:23:10 +01:00
Sebastian Huber
d00612875b tests: Fix warnings 2015-03-05 11:23:10 +01:00
Sebastian Huber
5155069b23 libchip/serial: Fix warning 2015-03-05 11:23:09 +01:00
Sebastian Huber
b4fa5a5246 bsps: Fix warning 2015-03-05 11:23:09 +01:00