Commit Graph

25206 Commits

Author SHA1 Message Date
Sebastian Huber
6e93dc4a95 score: Create chain implementation header
Move implementation specific parts of chain.h and chain.inl into new
header file chainimpl.h.  The chain.h contains now only the application
visible API.
2013-07-22 16:57:25 +02:00
Sebastian Huber
47ac81f645 posix: Obtain _Thread_Executing in proper context 2013-07-22 16:57:25 +02:00
Sebastian Huber
918d5565b2 sptests/sp37: Disable dispatch for clock tick 2013-07-22 16:57:25 +02:00
Sebastian Huber
768c5cee18 posix: Obtain _Thread_Executing in proper context 2013-07-22 16:57:25 +02:00
Sebastian Huber
16243a207b score: Avoid direct usage of _Thread_Executing
Pass the executing thread as a function parameter.  Obtain the executing
thread inside a thread dispatch critical section to avoid problems on
SMP.
2013-07-22 16:57:24 +02:00
Sebastian Huber
c71b596c4e score: Create spinlock implementation header
Move implementation specific parts of corespinlock.h and
corespinlock.inl into new header file corespinlockimpl.h.  The
corespinlock.h contains now only the application visible API.
2013-07-22 16:57:24 +02:00
Sebastian Huber
eb448eece9 posix: Create spinlock implementation header
Move implementation specific parts of spinlock.h and spinlock.inl into
new header file spinlockimpl.h.  The spinlock.h contains now only the
application visible API.
2013-07-22 16:57:24 +02:00
Sebastian Huber
f17c779828 posix: Create timer implementation header
Move implementation specific parts of timer.h and timer.inl into new
header file timerimpl.h.  The timer.h contains now only the application
visible API.
2013-07-22 16:57:24 +02:00
Sebastian Huber
982e97463f score: Avoid direct usage of _Thread_Executing
Pass the executing thread as a function parameter.  Obtain the executing
thread inside a thread dispatch critical section to avoid problems on
SMP.
2013-07-22 16:57:23 +02:00
Sebastian Huber
cbdabc8b30 score: Create rwlock implementation header
Move implementation specific parts of corerwlock.h and corerwlock.inl
into new header file corerwlockimpl.h.  The corerwlock.h contains now
only the application visible API.
2013-07-22 16:57:23 +02:00
Sebastian Huber
0e8656b49e posix: Create rwlock implementation header
Move implementation specific parts of rwlock.h and rwlock.inl into new
header file rwlockimpl.h.  The rwlock.h contains now only the
application visible API.
2013-07-22 16:57:23 +02:00
Sebastian Huber
0c5317d16c posix: Create pthread implementation header
Move implementation specific parts of pthread.h and pthread.inl into new
header file pthreadimpl.h.  The pthread.h contains now only the
application visible API.
2013-07-22 16:57:23 +02:00
Sebastian Huber
97552c98b6 posix: Create priority implementation header
Move implementation specific parts of priority.h and priority.inl into
new header file priorityimpl.h.  Remove priority.h since there is no
application visible API.
2013-07-22 16:57:23 +02:00
Sebastian Huber
d8dd80e8a6 smptests/smp08: Print missing newline 2013-07-22 16:57:22 +02:00
Sebastian Huber
4cb8e597a7 score: Obtain _Thread_Executing in proper context 2013-07-22 16:57:22 +02:00
Sebastian Huber
35210b128c posix: Create condition variable impl header
Move implementation specific parts of cond.h and cond.inl into new
header file condimpl.h.  The cond.h contains now only the application
visible API.
2013-07-22 16:57:22 +02:00
Sebastian Huber
a951572290 cpuuse: Add SMP support 2013-07-22 16:57:22 +02:00
Sebastian Huber
7d9a42603b libcsupport: Include missing header file 2013-07-22 16:57:21 +02:00
Sebastian Huber
0444947e63 score: Avoid direct usage of _Thread_Executing
Pass the executing thread as a function parameter.  Obtain the executing
thread inside a thread dispatch critical section to avoid problems on
SMP.
2013-07-22 16:57:21 +02:00
Sebastian Huber
bb2d9f9b36 score: Create barrier implementation header
Move implementation specific parts of corebarrier.h and corebarrier.inl
into new header file corebarrierimpl.h.  The corebarrier.h contains now
only the application visible API.
2013-07-22 16:57:21 +02:00
Sebastian Huber
6b4a3770cd posix: Create barrier implementation header
Move implementation specific parts of barrier.h and barrier.inl into new
header file barrierimpl.h.  The barrier.h contains now only the
application visible API.
2013-07-22 16:57:21 +02:00
Sebastian Huber
0b32bb8042 rtems: Create barrier implementation header
Move implementation specific parts of barrier.h and barrier.inl into new
header file barrierimpl.h.  The barrier.h contains now only the
application visible API.
2013-07-22 16:57:21 +02:00
Sebastian Huber
e64f164335 score: Include <limits.h> in basedefs.h 2013-07-22 16:57:17 +02:00
Sebastian Huber
33a4a56e7f score: Avoid direct usage of _Thread_Executing
Pass the executing thread as a function parameter.  Obtain the executing
thread inside a thread dispatch critical section to avoid problems on
SMP.
2013-07-22 16:56:59 +02:00
Sebastian Huber
b5d514fe2d score: Create message queue implementation header
Move implementation specific parts of coremsg.h and coremsg.inl into new
header file coremsgimpl.h.  The coremsg.h contains now only the
application visible API.
2013-07-22 16:56:59 +02:00
Sebastian Huber
972a5c5f94 posix: Create message queue implementation header
Move implementation specific parts of mqueue.h and mqueue.inl into new
header file mqueueimpl.h.  The mqueue.h contains now only the
application visible API.
2013-07-22 16:56:59 +02:00
Sebastian Huber
993a888dfd rtems: Create message queue implementation header
Move implementation specific parts of message.h and message.inl into new
header file messageimpl.h.  The message.h contains now only the
application visible API.
2013-07-22 16:56:58 +02:00
Sebastian Huber
e36f2b8c91 score: Avoid direct usage of _Thread_Executing
Pass the executing thread as a function parameter.  Obtain the executing
thread inside a thread dispatch critical section to avoid problems on
SMP.
2013-07-22 16:56:58 +02:00
Sebastian Huber
570045ed7f score: Add const qualifier 2013-07-22 16:56:58 +02:00
Sebastian Huber
c4f585589a score: Create semaphore implementation header
Move implementation specific parts of coresem.h and coresem.inl into new
header file coresemimpl.h.  The coresem.h contains now only the
application visible API.
2013-07-22 16:56:58 +02:00
Sebastian Huber
c624c0e9e2 posix: Convert to inline function 2013-07-22 16:56:58 +02:00
Sebastian Huber
9c743e8e72 posix: Create semaphore implementation header
Move implementation specific parts of semaphore.h and semaphore.inl into
new header file semaphoreimpl.h.  The semaphore.h contains now only the
application visible API.
2013-07-22 16:56:57 +02:00
Sebastian Huber
05e82bd76b score: Error for non-preemptible tasks on SMP
A common use case for disabled preemption was to ensure mutual exclusion
on single-processor configurations.  On SMP this does not work.

To abandon non-preemptible tasks simplifies the scheduler.
2013-07-22 16:46:01 +02:00
Sebastian Huber
79d9523f19 rtems: Error for task variables on SMP
Task variables are not supported on SMP.
2013-07-22 16:46:01 +02:00
Sebastian Huber
50ccf988c2 rtems: Error for task delete on SMP
Task deletion is currently not implemented on SMP configurations.
2013-07-22 16:46:01 +02:00
Sebastian Huber
f913c796ff sapi: Add rtems_configuration_is_smp_enabled()
Add a configuration field which indicates if the SMP mode of operation
is enabled.  This can be used to disable features unsupported on SMP,
e.g task variables.
2013-07-22 16:46:01 +02:00
Sebastian Huber
0bbd8fdce2 score: Add and use _ISR_Get_nest_level() 2013-07-22 16:46:01 +02:00
Sebastian Huber
d0a97f2d1d score: Move ISR catch support functions
Delete now unused file <rtems/score/isr.inl>.
2013-07-22 16:46:00 +02:00
Sebastian Huber
45b572fa4a score: Move ISR level content to single file 2013-07-22 16:46:00 +02:00
Sebastian Huber
1a30d44266 libmisc: Use _Thread_Get_executing() 2013-07-22 16:46:00 +02:00
Sebastian Huber
d566f33e67 libcsupport: Use _Thread_Get_executing() 2013-07-22 16:46:00 +02:00
Sebastian Huber
d7ce33f17e testsuites: Use _Thread_Get_executing() 2013-07-22 16:46:00 +02:00
Sebastian Huber
5f7757b05b posix: Use _Thread_Get_executing() 2013-07-22 16:45:59 +02:00
Sebastian Huber
3b8d2fa443 rtems: Use _Thread_Get_executing() 2013-07-22 16:45:59 +02:00
Sebastian Huber
02f73d487e score: Use _Thread_Get_executing() 2013-07-22 16:45:59 +02:00
Sebastian Huber
a9127a2e65 testsuites: Include missing header files 2013-07-22 16:45:59 +02:00
Sebastian Huber
f2d9fda780 shell: Include missing header file 2013-07-22 16:45:58 +02:00
Sebastian Huber
ca1d84efb8 network: Include missing header file 2013-07-22 16:45:58 +02:00
Sebastian Huber
a1b4752869 posix: Include missing header files 2013-07-22 16:45:58 +02:00
Sebastian Huber
1e4f08b412 score: Include missing header files 2013-07-22 16:45:58 +02:00