Sebastian Huber
2d5424d2d0
sptests/sp37: Account for internal struct align
2014-04-09 15:30:24 +02:00
Sebastian Huber
c3cd7e7b7b
smptests/smpschedule01: Rename in smpscheduler01
2014-04-09 15:27:21 +02:00
Sebastian Huber
eeb45b5cb9
sptests/sp68: Fix configuration
2014-04-07 16:48:02 +02:00
Sebastian Huber
d61c315575
score: Fix for empty heap
2014-04-07 16:48:02 +02:00
Sebastian Huber
fef4293834
psxtests/psxkey02: Test for proper error case
2014-04-07 16:48:02 +02:00
Sebastian Huber
b2700c3501
score: Use proper protection
2014-04-07 16:48:02 +02:00
Sebastian Huber
316ba974ba
tmtests/tm21: Fix configuration
2014-04-07 16:48:01 +02:00
Sebastian Huber
781631ebe4
sptests/spwatchdog: Fix for short enums
2014-04-07 14:51:31 +02:00
Sebastian Huber
57c29858ce
score: Lazy key value pair allocation
2014-04-07 14:51:31 +02:00
Sebastian Huber
e785fbaae5
score: Delete _Thread_Ticks_per_timeslice
...
Use the Configuration instead.
2014-04-07 14:51:31 +02:00
Sebastian Huber
4744584698
score: Delete _Thread_Maximum_extensions
...
Use the Configuration instead.
2014-04-07 14:51:31 +02:00
Sebastian Huber
94086a9cb7
score: Fix POSIX threads size estimate
...
The POSIX threads are separate objects. Account for the object
administration overhead.
2014-04-07 14:51:31 +02:00
Sebastian Huber
fb9e98ea22
score: Fix workspace size estimate
2014-04-07 14:51:31 +02:00
Sebastian Huber
57740ce8a1
score: Clarify CPU port alignment requirements
2014-04-07 14:51:31 +02:00
Joel Sherrill
d507c03731
Disable per task variables when SMP is enabled
...
Per task variables are inherently unsafe in SMP systems. This
patch disables them from the build and adds warnings in the
appropriate documentation and configuration sections.
2014-04-04 14:27:27 -05:00
Sebastian Huber
cae120e23c
rhealstone/rhmlatency: Fix configuration
2014-04-04 17:06:52 +02:00
Joel Sherrill
95cb09ed74
sparc/shared/.../linkcmds.base: Correct C++ support
...
Add KEEP() for .eh_frame*, .ctor*, and .dtor*.
2014-04-04 09:26:08 -05:00
Joel Sherrill
c6f0a4b7cb
schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent changes
2014-04-04 09:24:44 -05:00
Joel Sherrill
eb2c8133aa
privateenv.c: Remove unused variable warning
2014-04-04 09:24:17 -05:00
Sebastian Huber
24934e36e2
score: Add scheduler control to scheduler ops
...
Scheduler operations must be free of a global scheduler context to
enable partitioned/clustered scheduling.
2014-04-04 11:01:18 +02:00
Sebastian Huber
439c494fe2
score: Add and use Scheduler_simple_Control
2014-04-04 11:01:18 +02:00
Sebastian Huber
3891983283
score: Add and use Scheduler_EDF_Control
2014-04-04 11:01:18 +02:00
Sebastian Huber
e8fffc2d5c
score: Delete superfluous field
2014-04-04 11:01:18 +02:00
Sebastian Huber
d62b5ac99b
score: Include missing header file
2014-04-04 11:01:18 +02:00
Sebastian Huber
fc3c7599f6
score: Move declaration to end of file
2014-04-04 11:01:18 +02:00
Joel Sherrill
69d7279bd5
pthreadimpl.h: Conditionalize thread affinity copying
2014-04-03 17:02:40 -05:00
Joel Sherrill
aa7ff5d3f9
leon2 ckinit.c, console.c: Comment clean up
2014-04-03 15:16:07 -05:00
Joel Sherrill
fcc1076195
leon2/Makefile.am: Change to one file per line
2014-04-03 15:16:07 -05:00
Joel Sherrill
68a647045b
erc32/Makefile.am: Change to one file per line
2014-04-03 15:16:07 -05:00
Joel Sherrill
6c0b7b878c
psim/console/console-io.c: Comment clean up
2014-04-03 15:16:07 -05:00
Joel Sherrill
d4db719346
sim68000/console/conscfg.c: Comment clean up
2014-04-03 15:16:07 -05:00
Joel Sherrill
3a422f7d66
h8sim/console/console-io.c: Comment clean up
2014-04-03 15:16:07 -05:00
Joel Sherrill
68c156aea7
pthreadcreate.c: Fix bug where attr used instead of the_attr
2014-04-03 15:03:42 -05:00
Joel Sherrill
a0a073d1c9
pthread.c: Conditionalize thread affinity initialization
2014-04-03 13:51:47 -05:00
Jennifer Averett
af53e6cffa
smpaffinity01: Use Priority Affinity SMP scheduler.
2014-04-03 10:48:58 -05:00
Jennifer Averett
d4e1ead87d
smppsxaffinity01: Use Priority Affinity SMP scheduler.
2014-04-03 10:48:57 -05:00
Jennifer Averett
cb283959ce
smppsxaffinity02: Use Priority Affinity SMP scheduler.
2014-04-03 10:48:57 -05:00
Jennifer Averett
e045fb6c60
posix: Move affinity from thread to scheduler.
2014-04-03 10:48:57 -05:00
Jennifer Averett
7205189ce3
posix: Modified pthread init to use cpuset default.
2014-04-03 10:48:57 -05:00
Jennifer Averett
54f345f5a5
rtems: Move affinity from thread to scheduler.
2014-04-03 10:48:57 -05:00
Jennifer Averett
6d24e8bc6f
sapi: Add priority affinity smp scheduler.
2014-04-03 10:48:56 -05:00
Jennifer Averett
da5b1b9f4c
score: Remove affinity element from thread.
2014-04-03 10:48:56 -05:00
Jennifer Averett
56c396ba47
score: Add priority affinity smp scheduler.
2014-04-03 10:48:56 -05:00
Jennifer Averett
cfe457f9a6
score: score: Add get/set affinity to Scheduler Framework.
2014-04-03 10:46:24 -05:00
Sebastian Huber
1a6093dc60
samples/fileio: Fix configuration
2014-04-03 12:53:24 +02:00
Sebastian Huber
494c2e3002
score: Move priority bit map to scheduler instance
...
Delete global variables _Priority_Major_bit_map and _Priority_Bit_map.
This makes it possible to use multiple priority scheduler instances for
example with clustered/partitioned scheduling on SMP.
2014-04-03 11:13:26 +02:00
Sebastian Huber
f570b07199
score: Rename Priority_bit_map_Control
...
Rename Priority_bit_map_Control in Priority_bit_map_Word.
2014-04-03 11:13:26 +02:00
Sebastian Huber
3f5f2ce229
score: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USE
...
Issue a fatal error in case a thread is deleted which still owns
resources (e.g. a binary semaphore with priority inheritance or ceiling
protocol). The resource count must be checked quite late since RTEMS
task variable destructors, POSIX key destructors, POSIX cleanup handler,
the Newlib thread termination extension or other thread termination
extensions may release resources. In this context it would be quite
difficult to return an error status to the caller.
An alternative would be to place threads with a non-zero resource count
not on the zombie chain. Thus we have a resource leak instead of a
fatal error. The terminator thread can see this error if we return an
RTEMS_RESOURCE_IN_USE status for the rtems_task_delete() for example.
2014-04-03 11:13:25 +02:00
Sebastian Huber
499492793b
score: Move __log2table to separate file
2014-04-01 14:10:23 +02:00
Sebastian Huber
8e980e6168
bsps/powerpc: Fix linker command files
2014-04-01 14:10:23 +02:00