Commit Graph

28381 Commits

Author SHA1 Message Date
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
Sebastian Huber
2c8843882d IMFS: Fix warning 2015-03-05 11:23:09 +01:00
Sebastian Huber
29d36fa594 IMFS: Include missing header file 2015-03-05 11:23:09 +01:00
Sebastian Huber
81c73acf41 IMFS: Fix warning 2015-03-05 11:23:09 +01:00
Sebastian Huber
5d42857662 libblock: Fix warning 2015-03-05 11:23:08 +01:00
Sebastian Huber
b8aa1c10b0 score: C/C++ compatibility macros for ISR locks
Update #2273.
2015-03-05 11:22:48 +01:00
Sebastian Huber
5b5d2fd4f2 Filesystem: Delete unused null_op_fsmount_me() 2015-03-05 09:37:36 +01:00
Alexander Krutwig
7f577d3a56 tests: Refactor parallel test execution 2015-03-05 09:12:14 +01:00
Alexander Krutwig
51acbdc19c score: Documentation 2015-03-05 08:45:36 +01:00
Sebastian Huber
18d0a49129 Move test support from sapi to libmisc/testsupport 2015-03-05 08:44:59 +01:00
Sebastian Huber
8ac3549db3 score: Delete unused CPU_UNROLL_ENQUEUE_PRIORITY 2015-03-05 08:12:24 +01:00
Hesham ALMatary
3358d62fe7 score/cpu/or1k: Add cpuatomic.h to fix broken build.
4e3d9a4d6c broke or1k, cpuatomic.h has to
be added to all architectures.
2015-03-04 17:24:21 -06:00
Joel Sherrill
461a9302bc capture01: Update screen file 2015-03-04 14:53:36 -06:00
Joel Sherrill
57a914a3fb Add simple test for scandir() on all file systems tested
updates 1394
2015-03-04 14:46:14 -06:00
Gedare Bloom
56c7192606 psxtests/psxclock01: use clock() and CLOCKS_PER_SEC
Closes #2182
2015-03-04 15:38:53 -05:00
Gedare Bloom
76f37656a2 libcsupport: scale times() call to microseconds 2015-03-04 15:38:52 -05:00
Sebastian Huber
e50297e36c score: ISR lock C/C++ compatiblity issue
Empty structures are implementation-defined in C.  GCC gives them a size
of zero.  In C++ empty structures have a non-zero size.

Add ISR_LOCK_DEFINE() to define ISR locks for structures used by C and
C++.

Update #2273.
2015-03-04 12:03:04 +01:00