Commit Graph

28838 Commits

Author SHA1 Message Date
Joel Sherrill
3297136614 arm/lpc24xx/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:52 -05:00
Joel Sherrill
98e910b47f arm/lpc176x/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:43 -05:00
Joel Sherrill
d41577c39f arm/lm3s69xx/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:39 -05:00
Joel Sherrill
30617a10f2 arm/gumstix/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:34 -05:00
Joel Sherrill
846219a1de arm/gdbarmsim/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:30 -05:00
Joel Sherrill
9604d7ed25 arm/edb7312/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:28 -05:00
Joel Sherrill
c14ece5cb9 arm/csb337/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:27 -05:00
Joel Sherrill
85f201126d arm/csb336/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:26 -05:00
Joel Sherrill
413e6e18b9 arm/atsam/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:25 -05:00
Joel Sherrill
77c01358fc arm/altera-cyclone-v/include/bsp.h: Do not include <rtems/clockdrv.h> 2016-03-25 10:44:23 -05:00
Joel Sherrill
eaf03e9f17 pc386/README: Replace contents with discussion of console/printk device selection 2016-03-24 11:41:23 -05:00
Joel Sherrill
85f690189b shell/hexdump-odsyntax.c: Add define of _GNU_SOURCE to avoid warnings 2016-03-24 11:41:22 -05:00
Joel Sherrill
037f7a6096 shell/hexdump-conv.c: Disable sccsid to avoid unused warning 2016-03-24 11:41:22 -05:00
Joel Sherrill
561dec5ec4 powerpc/shared/openpic/openpic.c: Ignore warnings for __builtin_frame_address() usage 2016-03-24 11:41:22 -05:00
Joel Sherrill
596bfe3b41 mptests/*/*.c: Fix warnings 2016-03-24 11:41:22 -05:00
Joel Sherrill
d165fd2d79 erc32/*/erc32sonic.c: Fix warnings 2016-03-24 11:41:22 -05:00
Joel Sherrill
50b73d3a7e cpukit/rtems/src/*mp.c: Fix set but not used warning 2016-03-24 11:41:21 -05:00
Joel Sherrill
b66394df63 sp13/task1.c: Remove warning for misleading indentation
Fix a block of off-by-one indentation and add braces to clarify
intention.
2016-03-24 11:41:21 -05:00
Joel Sherrill
020c4c07d4 libmisc/shell/main_hexdump.c: Disable unused copyright string 2016-03-24 11:41:21 -05:00
Joel Sherrill
c4e317f360 libmisc/monitor/mon-prmisc.c: Remove unused rtems_monitor_events_assoc 2016-03-24 11:41:21 -05:00
Joel Sherrill
d264b330e1 telnetd.c: Fix no prototype warning 2016-03-24 11:41:21 -05:00
Joel Sherrill
09c993b4bb libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused 2016-03-24 11:41:20 -05:00
Joel Sherrill
7f9e067f54 cpuuse/cpuusagetop.c: Fix unused variable warning 2016-03-24 11:41:20 -05:00
Sebastian Huber
d67c869766 score: Use RTEMS_UNREACHABLE()
The _CPU_Context_switch() in _Thread_Start_multitasking() does in fact
not return.
2016-03-23 07:45:11 +01:00
Sebastian Huber
2518516f40 posix: pthread_exit() is a no-return function 2016-03-23 07:37:14 +01:00
Sebastian Huber
e8d9b26f43 score: Add and use RTEMS_UNREACHABLE 2016-03-23 07:33:42 +01:00
Joel Sherrill
426f35fe4b cpukit/rtems/include/rtems/rtems/sem.h: Remove junk in comment 2016-03-22 13:15:30 -05:00
Joel Sherrill
1a738edb39 lpc1768_mbed.cfg: Turn on per function sections
Closes #2576.
2016-03-22 10:10:38 -05:00
Sebastian Huber
9e2acee742 psxtests/psxobj01: Fix for RTEMS_DEBUG 2016-03-22 08:29:09 +01:00
Sebastian Huber
865f110b58 score: Fix for RTEMS_DEBUG
The rtems_extension_create() no longer uses the Giant lock.  Ensure that
we call _User_extensions_Add_set() only in the right context.

Update #2555.
2016-03-22 08:05:28 +01:00
Sebastian Huber
c61431f934 score: Always declare _Objects_Get_by_name()
Still define it only if RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES is
defined.

Close #2672.
2016-03-22 07:44:14 +01:00
Sebastian Huber
30cac38f15 rtems: Use object allocator lock
Object creation and destruction is protected by the object allocator
lock and not disabled thread dispatching.

Update #2555.
2016-03-22 07:44:13 +01:00
Sebastian Huber
baa1362643 score: Fix for RTEMS_DEBUG
Update #2627.
2016-03-22 07:22:08 +01:00
Sebastian Huber
90960bd11a rtems: Rework rate-monotonic scheduler
Use the default thread lock to protect rate-monotonic state changes.
This avoids use of the Giant lock.  Split rtems_rate_monotonic_period()
body into several static functions.  Introduce a new thread wait class
THREAD_WAIT_CLASS_PERIOD for period objects to synchronize the blocking
operation.

Close #2631.
2016-03-22 07:05:05 +01:00
Sebastian Huber
875c26db0f rtems: Avoid __RTEMS_USE_TICKS_FOR_STATISTICS__
Option was removed by e6b31b27fb.
2016-03-21 10:45:44 +01:00
Sebastian Huber
300eaadd42 rtems: Delete Rate_monotonic_Period_time_t
Variables with this type directly used the _Timestamp_*() functions.
2016-03-21 10:44:35 +01:00
Sebastian Huber
610e87d3c2 rtems: Inline _Rate_monotonic_Reset_statistics()
Use inline function instead of macro.
2016-03-21 10:36:20 +01:00
Sebastian Huber
be88976440 mpci: Avoid Giant lock
The object creation/deletion is protected by the object allocator lock.

Update #2555.
2016-03-18 15:36:58 +01:00
Sebastian Huber
19e855d745 mpci: Avoid Giant lock
Update #2555.
2016-03-18 15:36:58 +01:00
Sebastian Huber
5a5fb3b9d6 score: Avoid Giant lock for CORE spinlock
Use an ISR lock to protect the spinlock state.  Remove empty attributes.

Update #2555.
2016-03-18 15:36:58 +01:00
Sebastian Huber
c904df5733 score: Add _Objects_Get_by_name()
Replace _Objects_Name_to_id_string() with _Objects_Get_by_name() since
all users of this function are interested in the object itself and not
the identifier.

Use the object allocator lock to protect the search.

Update #2555.
2016-03-18 15:36:58 +01:00
Sebastian Huber
1f0e652a2a sptests/sptls02: Use GNU++11
This avoids a problem with the feature test macros introduced in Newlib
be657151f12f4d198e45395987f0a626ee1bbb91.
2016-03-18 15:36:58 +01:00
Sebastian Huber
e12f4e1724 bsp/qoriq: Invalidate TLS anchor 2016-03-18 10:59:24 +01:00
Sebastian Huber
e3f8ba57f4 ftpd: Resolve function name conflict
Visible with Newlib be657151f12f4d198e45395987f0a626ee1bbb91.
2016-03-18 10:30:57 +01:00
Sebastian Huber
b545d97c0c score: C++ compatibility 2016-03-18 09:25:16 +01:00
Sebastian Huber
5eaf0e7458 posix: Use per-thread lookup tree for POSIX Keys
Yields higher performance on SMP systems.

Close #2625.
2016-03-18 07:43:46 +01:00
Sebastian Huber
90de300108 score: Destroy thread timer lock
Update #2554.
2016-03-18 07:43:46 +01:00
Sebastian Huber
d64f2e7a85 sparc: Fix SMP context switch
The value of register %g1 was overwritten in a delay slot.  Use
additional %g4 register.

Bug introduced by 258ad71e96.
2016-03-18 07:43:46 +01:00
Joel Sherrill
d731bc6fe7 bspgetworkarea.c: File header now uses Doxygen 2016-03-17 17:44:06 -05:00
Joel Sherrill
bfb886d78c mcf5235/start/start.S: Fix spacing from bad tab expansion 2016-03-17 17:43:31 -05:00