Commit Graph

28381 Commits

Author SHA1 Message Date
Joel Sherrill
7c5f37d1af Merge branch 'master' of ssh://dispatch.rtems.org/data/git/rtems 2015-05-26 10:17:03 -05:00
Sebastian Huber
76030c703b sparc: Add static assertion 2015-05-26 14:13:44 +02:00
Sebastian Huber
422de7f77d sparc: Delete unused CONTEXT_CONTROL_SIZE 2015-05-26 14:09:11 +02:00
Sebastian Huber
139c0dce69 sparc: Delete unused ISF_STACK_FRAME_OFFSET 2015-05-26 14:08:11 +02:00
Sebastian Huber
fedc682870 sparc: Add static offset assertions 2015-05-26 14:05:57 +02:00
Alexander Krutwig
cba07fcc7a sptests/spcontext01: Test deferred FP context 2015-05-26 10:29:38 +02:00
Sebastian Huber
10454223a9 bsps/sparc: Delete unused local labels 2015-05-26 10:02:27 +02:00
Sebastian Huber
26ffb8c21c bsps/sparc: Change tabs to spaces 2015-05-26 10:02:11 +02:00
Sebastian Huber
1cfae28722 rtems/endian.h: Reduce header dependencies 2015-05-22 08:20:41 +02:00
Joel Sherrill
24acc6d0c0 Merge branch 'master' of ssh://dispatch.rtems.org/data/git/rtems 2015-05-21 18:08:32 -05:00
Hesham ALMatary
10504d3ca4 doc: Add new documentation section for Epiphany architecture 2015-05-21 16:03:34 -04:00
Hesham ALMatary
6f71dcb7cd Epiphany: Add the first epiphany_sim BSP v4
This BSP in intended to run on the simulator that should be built
from RSB. When building RTEMS for Epiphany --disable-networking must
be provided part of the configure command.
2015-05-21 16:03:34 -04:00
Hesham ALMatary
66a5000d78 cpukit: Add Epiphany architecture port v4 2015-05-21 16:03:34 -04:00
Joel Sherrill
63c68cfcaf region*.c: Ensure return_status is set when RTEMS_MULTIPROCESSING is enabled 2015-05-21 08:28:58 -07:00
Joel Sherrill
60e4c0094a arm/s3c24xx/clock/clockdrv.c: Remove unused variable warning 2015-05-21 08:28:58 -07:00
Joel Sherrill
562c1b1b6d arm/lpc22xx/clock/clockdrv.c: Remove unused variable warning 2015-05-21 08:28:56 -07:00
Joel Sherrill
efd351d2f8 powerpc/shared/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:56 -07:00
Joel Sherrill
68592d5432 mpc55xxevb/clock/clock-config.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
4004d971fa mcf5225x/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
2a605f6495 mcf52235/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
5a9c3c1053 pc386/clock/ckinit.c: Remove prototyped but not defined warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
52258f1344 arm/shared/lpc/clock/lpc-clock-config.c: Remove unused variable warning 2015-05-21 08:28:54 -07:00
Joel Sherrill
221031ec9f kill_noposix.c: Remove obsolete __kill() 2015-05-21 08:28:54 -07:00
Joel Sherrill
1c0663b48f mcf52235-testsuite.tcfg: Add syscall01 2015-05-21 08:28:54 -07:00
Joel Sherrill
0afac6ab66 Multiple bsp_specs: Change *(old_endfile) to %(old_endfile)
Fix typo.

closes 2345.
2015-05-21 08:28:54 -07:00
Joel Sherrill
64f7724bd0 Top files: Update and prep for release branch 2015-05-21 08:28:54 -07:00
Joel Sherrill
22e576dfde simsh2e-testsuite.tcfg: Add fileio 2015-05-21 08:28:53 -07:00
Joel Sherrill
bb997dd9c2 simsh1-testsuite.tcfg: Add fileio 2015-05-21 08:28:53 -07:00
Sebastian Huber
95889465e8 bsp/tms570: Typo 2015-05-21 17:27:34 +02:00
Alexander Krutwig
1c59cad4aa sparc: Add support for sptests/spcontext01
Implement _CPU_Context_validate() and _CPU_Context_volatile_clobber().

Update #2270.
2015-05-21 09:37:36 +02:00
Alexander Krutwig
a9c4f15dbe doc: Clarify SPARC floating point ABI 2015-05-21 09:02:51 +02:00
Alexander Krutwig
75acd9e69f bsps: Convert clock drivers to use a timecounter
Update #2271.
2015-05-20 08:40:34 +02:00
Alexander Krutwig
7cd2484c4c timecounter: Use in RTEMS
Replace timestamp implementation with FreeBSD bintime and timecounters.

New test sptests/sptimecounter02.

Update #2271.
2015-05-20 08:40:33 +02:00
Alexander Krutwig
31be41653a timecounter: Port to RTEMS
New test sptests/timecounter01.

Update #2271.
2015-05-20 08:40:29 +02:00
Alexander Krutwig
cc6938455e timecounter: Honor FFCLOCK define
Update #2271.
2015-05-19 15:14:34 +02:00
Alexander Krutwig
664f8446f4 timecounter: Use uint32_t instead of u_int
FreeBSD assumes that u_int is a 32-bit integer type.  This is wrong for
some 16-bit targets supported by RTEMS.

Update #2271.
2015-05-19 15:14:34 +02:00
Alexander Krutwig
4117cd1639 timecounter: Import from FreeBSD
Update #2271.
2015-05-19 15:14:34 +02:00
Sebastian Huber
33e30f393e smptests/smpscheduler03: Restructure
Restructure to avoid large maximum thread dispatch disabled times.
2015-05-19 15:14:34 +02:00
Sebastian Huber
9eb056f8c1 rtems: Avoid Giant lock for events 2015-05-19 15:14:34 +02:00
Sebastian Huber
20b423c6f2 psxualarm: Avoid endless signal handling
Increase the ualarm timer interval to avoid endless signal handling.
2015-05-19 15:14:33 +02:00
Sebastian Huber
d542329598 score: _Thread_Dispatch_disable_critical()
Thread dispatching is disabled in case interrupts are disabled.  To get
an accurate thread dispatch disabled time it is important to use the
interrupt disabled instant in case a transition from an interrupt
disabled section to a thread dispatch level section happens.
2015-05-19 15:14:33 +02:00
Sebastian Huber
aa05cfbb3d score: Replace _Thread_Delay_ended()
Use _Thread_Timeout() instead.  Use pseudo thread queue for nanosleep()
to deal with signals.

Close #2130.
2015-05-19 12:00:48 +02:00
Sebastian Huber
d8752860e5 score: Add static initializers for thread queues 2015-05-19 12:00:48 +02:00
Sebastian Huber
9052f88b16 score: Do not inline SMP lock if profiling enabled
This reduces the code size drastically.
2015-05-19 12:00:48 +02:00
Sebastian Huber
7a70a09260 score: Delete _Objects_Put_for_get_isr_disable()
This function is superfluous due to the introduction of fine grained
locking.
2015-05-19 12:00:48 +02:00
Sebastian Huber
a816f08478 score: Fine grained locking for MrsP
Update #2273.
2015-05-19 12:00:48 +02:00
Sebastian Huber
80f376db6c score: Remove Giant lock in rtems_clock_tick()
Update #2307.
2015-05-19 12:00:47 +02:00
Sebastian Huber
900d337f96 score: Rework _Thread_Change_priority()
Move the writes to Thread_Control::current_priority and
Thread_Control::real_priority into _Thread_Change_priority() under the
protection of the thread lock.  Add a filter function to
_Thread_Change_priority() to enable specialized variants.

Avoid race conditions during a thread priority restore with the new
Thread_Control::priority_restore_hint for an important average case
optimizations used by priority inheritance mutexes.

Update #2273.
2015-05-19 12:00:47 +02:00
Sebastian Huber
4438ac2575 score: Fine grained locking for mutexes
Update #2273.
2015-05-19 12:00:47 +02:00
Sebastian Huber
d12b313523 score: Inline _CORE_semaphore_Surrender() 2015-05-19 12:00:47 +02:00