Commit Graph

30022 Commits

Author SHA1 Message Date
Joel Sherrill
9c834d1142 arm/lpc24xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:00 -06:00
Joel Sherrill
ed1dcd28d6 arm/lpc32xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:58 -06:00
Joel Sherrill
2414497fcb arm/lpc176x/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:55 -06:00
Joel Sherrill
6c420403c8 arm/lm3s69xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:52 -06:00
Stavros Passas
ac01d2468a rtems-test-check: Fix to properly process excludes
Closes #2867.
2017-01-17 17:58:37 -06:00
Joel Sherrill
1fcdd639ee powerpc/shared/linkcmds.base: Add .rela.rtemsroset and .rela.rtemsrwset 2017-01-16 10:40:11 -06:00
Sebastian Huber
2a583a0079 atsam: Fix SC16IS752 documentation 2017-01-16 13:13:36 +01:00
Gedare Bloom
cb2cbecefd classic: adjust names of RM postponed job functions
closes #2795
2017-01-13 13:58:11 -05:00
Kuan-Hsun Chen
ad40220f80 sptests: EDF scheduler overrun handling
Update #2795.
2017-01-13 13:58:01 -05:00
Kuan-Hsun Chen
86aa124806 sptests: rate monotonic scheduler overrun handling
Update #2795.
2017-01-13 13:57:34 -05:00
Kuan-Hsun Chen
3a46b72455 Enhancement of the RMS manager for the overrun handling.
Three additional functions:
rtems_rate_monotonic_postponed_job_count,
_Rate_monotonic_Renew_deadline, and _Rate_monotonic_Release_postponed_job.

Four refined functions:
_Rate_monotonic_Activate, _Rate_monotonic_Block_while_expired,
rtems_rate_monotonic_period, _Rate_monotonic_Timeout.

Rate_monotonic_Control contains one counter for counting the postponed jobs
and one for recording the recent deadline.

Update #2795.
2017-01-13 13:55:13 -05:00
Gedare Bloom
ba77628250 posix: shared memory support
Add POSIX shared memory manager (Shm). Includes a hook-based
approach for the backing memory storage that defaults to the
Workspace, and a test is provided using the heap. A test is
also provided for the basic use of mmap'ing a shared memory
object. This test currently fails at the mmap stage due to
no support for mmap.
2017-01-13 11:17:30 -05:00
Gedare Bloom
2b442a8e17 posix: fix typo in mmap arguments 2017-01-13 11:05:56 -05:00
Gedare Bloom
1ca8ee137e posix: add stub implementations for mman functions 2017-01-13 11:05:56 -05:00
Gedare Bloom
e7eeb38d23 posix: move sys/mman.h to newlib and test it in psxhdrs 2017-01-13 11:05:56 -05:00
Sebastian Huber
ffa885a67a configure: Remove __RTEMS_DO_NOT_INLINE_THREAD_* 2017-01-13 11:46:23 +01:00
Sebastian Huber
714617e7ec configure: Remove __RTEMS_HAVE_DECL_SIGALTSTACK__ 2017-01-13 11:46:19 +01:00
Sebastian Huber
9fad437fbe configure: Remove HAVE_STRUCT__THREAD_QUEUE_QUEUE 2017-01-13 11:33:28 +01:00
Sebastian Huber
6b13287778 configure: Remove envlock support
This is provided by Newlib itself.
2017-01-13 11:28:35 +01:00
Sebastian Huber
4a03e75218 configure: Remove SIZEOF_PTHREAD_SPINLOCK_T 2017-01-13 09:45:59 +01:00
Sebastian Huber
dc7031904d configure: Remove HAVE_THREADS_H support 2017-01-13 09:39:32 +01:00
Sebastian Huber
544b59bf47 configure: Remove HAVE_SEMAPHORE_H support 2017-01-13 09:35:01 +01:00
Sebastian Huber
7c49927911 posix: Add pthread_getname_np(), ...
Add pthread_getname_np() and pthread_setname_np().

Update #2858.
2017-01-13 08:10:28 +01:00
Sebastian Huber
da6ad56a68 score: Add _Thread_Set_name()
Add configuration option CONFIGURE_MAXIMUM_THREAD_NAME_SIZE.

Update #2858.
2017-01-13 08:10:28 +01:00
Sebastian Huber
7ced9d9bb2 score: Add and use _Thread_Get_name()
Update #2858.
2017-01-13 08:10:24 +01:00
Sebastian Huber
2b72162b81 score: Add Thread_queue_Queue::name
Update #2858.
2017-01-13 07:19:21 +01:00
Sebastian Huber
b8bcebea18 score: Add and use _Objects_Name_to_string()
Update #2858.
2017-01-13 07:19:21 +01:00
Sebastian Huber
1772a04f68 configure: Add RTEMS_TOOL_CHAIN_ERROR
Stop the build with a common error message in case the tool chain is
seriously out of date.
2017-01-13 07:19:15 +01:00
Christian Spindeldreier
a1e4e3bf31 GRETH: Interrupt Handler Uses Wrong Events
closes #2796.
2017-01-12 09:36:26 -06:00
Sebastian Huber
61c14a31c8 cpuuse: Call printer only once 2017-01-12 14:19:05 +01:00
Sebastian Huber
3b784ba028 Fix documentation comment 2017-01-12 14:18:58 +01:00
Sebastian Huber
96bb2e4bdf rtems: Use header file for rtems_object_get_name() 2017-01-12 07:53:12 +01:00
Sebastian Huber
a3730b38cc Add and use rtems_assoc_thread_states_to_string() 2017-01-12 07:44:37 +01:00
Sebastian Huber
b7f1fc3b36 libdebugger: Fix const qualifier 2017-01-12 07:44:36 +01:00
Sebastian Huber
0c431303cc Add rtems_assoc_32_to_string() 2017-01-12 07:44:36 +01:00
Sebastian Huber
fa9f964f73 score: Remove unused _States_Is_*() 2017-01-12 07:44:36 +01:00
Sebastian Huber
d063e7b3d8 score: Replace STATES_DELAYING
Replace STATES_DELAYING with STATES_WAITING_FOR_TIME.

There is no need for separate timeout thread states.  The
Thread_Control::Timer::header and Watchdog_Control::cpu members can be
used to figure out the kind of timeout.
2017-01-12 07:44:36 +01:00
Joel Sherrill
48a7fa31f9 Remove texinfo format documentation. Replaced by Sphinx formatted documentation.
closes #2812.
2017-01-11 12:13:21 -06:00
Joel Sherrill
7a4b264574 Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__ 2017-01-11 09:45:32 -06:00
Joel Sherrill
ef362818df Add support for posix_devctl() 2017-01-11 09:45:32 -06:00
Sebastian Huber
5aa0fa1cec posix: Fix alarm() in SMP configurations
Avoid to change the CPU of the watchdog right in the middle of the
critical section.  This would corrupt the watchdog lock states.
2017-01-11 13:52:15 +01:00
Sebastian Huber
3d35bc00d8 score: Improve SMP lock debug support
The CPU index starts with zero.  Increment it by one, to allow global
SMP locks to reside in the BSS section.
2017-01-11 13:52:08 +01:00
Sebastian Huber
4e07d9b3de score: Optimize thread state values 2017-01-11 08:16:28 +01:00
Sebastian Huber
9a448aabe6 score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER
Add thread state bit to identify thread queues that are embedded in an
object with identifier.
2017-01-11 08:16:27 +01:00
Sebastian Huber
c6000d2b54 score: Delete STATES_WAITING_FOR_BUFFER 2017-01-11 08:16:27 +01:00
Sebastian Huber
2e6d9865ce score: Format thread state defines
Specify all 32-bits in a thread state define.
2017-01-11 08:16:27 +01:00
Sebastian Huber
45ae4a89e7 sys/event.h: Update to FreeBSD head 2017-01-02 2017-01-09 14:53:26 +01:00
Sebastian Huber
a7cfb4bda0 score: Relax <sys/lock.h> static assertions
Only require that the Newlib defined structure is big enough.
2016-12-23 13:54:11 +01:00
Sebastian Huber
0374ccd8ab libio: Use CONSOLE_DEVICE_NAME 2016-12-23 13:53:55 +01:00
Sebastian Huber
eae4541d7b Clarify simple timecounter documentation 2016-12-21 09:27:19 +01:00