diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 13:50:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:47 +0200 |
commit | a2e3f33f39e6898c2e2886216fe671b29a93d643 (patch) | |
tree | d304dc7fe4fcf0dcb42a61b8ba99b2c698d8454f /cpukit/posix | |
parent | Include missing <rtems/score/threaddispatch.h> (diff) | |
download | rtems-a2e3f33f39e6898c2e2886216fe671b29a93d643.tar.bz2 |
score: Create object implementation header
Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.
Diffstat (limited to 'cpukit/posix')
42 files changed, 9 insertions, 35 deletions
diff --git a/cpukit/posix/include/rtems/posix/barrierimpl.h b/cpukit/posix/include/rtems/posix/barrierimpl.h index b9df1517cc..266bbdbe8b 100644 --- a/cpukit/posix/include/rtems/posix/barrierimpl.h +++ b/cpukit/posix/include/rtems/posix/barrierimpl.h @@ -21,6 +21,7 @@ #include <rtems/posix/barrier.h> #include <rtems/score/corebarrierimpl.h> +#include <rtems/score/objectimpl.h> #include <pthread.h> diff --git a/cpukit/posix/include/rtems/posix/condimpl.h b/cpukit/posix/include/rtems/posix/condimpl.h index 0e6d3409c1..029ff48b88 100644 --- a/cpukit/posix/include/rtems/posix/condimpl.h +++ b/cpukit/posix/include/rtems/posix/condimpl.h @@ -18,6 +18,7 @@ #define _RTEMS_POSIX_CONDIMPL_H #include <rtems/posix/cond.h> +#include <rtems/score/objectimpl.h> #include <rtems/score/watchdog.h> #ifdef __cplusplus diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h index 0bb1dbe6a8..6d2ebff6fd 100644 --- a/cpukit/posix/include/rtems/posix/key.h +++ b/cpukit/posix/include/rtems/posix/key.h @@ -19,7 +19,7 @@ #ifndef _RTEMS_POSIX_KEY_H #define _RTEMS_POSIX_KEY_H -#include <rtems/score/object.h> +#include <rtems/score/objectimpl.h> /** * @defgroup POSIX_KEY POSIX Key diff --git a/cpukit/posix/include/rtems/posix/posixapi.h b/cpukit/posix/include/rtems/posix/posixapi.h index 6ae5dfabfd..bf1c1b7eb8 100644 --- a/cpukit/posix/include/rtems/posix/posixapi.h +++ b/cpukit/posix/include/rtems/posix/posixapi.h @@ -20,7 +20,7 @@ #define _RTEMS_POSIX_POSIXAPI_H #include <rtems/config.h> -#include <rtems/score/object.h> +#include <rtems/score/objectimpl.h> /** * @defgroup POSIXAPI RTEMS POSIX API diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h index 1231f01634..a65f849c7a 100644 --- a/cpukit/posix/include/rtems/posix/pthreadimpl.h +++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h @@ -22,6 +22,7 @@ #include <rtems/posix/pthread.h> #include <rtems/posix/config.h> #include <rtems/posix/threadsup.h> +#include <rtems/score/objectimpl.h> #include <rtems/score/thread.h> #ifdef __cplusplus diff --git a/cpukit/posix/include/rtems/posix/rwlockimpl.h b/cpukit/posix/include/rtems/posix/rwlockimpl.h index 95e406b760..68cffe1f45 100644 --- a/cpukit/posix/include/rtems/posix/rwlockimpl.h +++ b/cpukit/posix/include/rtems/posix/rwlockimpl.h @@ -21,6 +21,7 @@ #include <rtems/posix/rwlock.h> #include <rtems/score/corerwlockimpl.h> +#include <rtems/score/objectimpl.h> #include <pthread.h> diff --git a/cpukit/posix/include/rtems/posix/spinlockimpl.h b/cpukit/posix/include/rtems/posix/spinlockimpl.h index 2711316498..339e66bd65 100644 --- a/cpukit/posix/include/rtems/posix/spinlockimpl.h +++ b/cpukit/posix/include/rtems/posix/spinlockimpl.h @@ -21,6 +21,7 @@ #include <rtems/posix/spinlock.h> #include <rtems/score/corespinlockimpl.h> +#include <rtems/score/objectimpl.h> #include <pthread.h> diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h index f1a87c9aed..414b46fd83 100644 --- a/cpukit/posix/include/rtems/posix/threadsup.h +++ b/cpukit/posix/include/rtems/posix/threadsup.h @@ -19,6 +19,7 @@ #define _RTEMS_POSIX_THREADSUP_H #include <rtems/score/coresem.h> +#include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/watchdog.h> diff --git a/cpukit/posix/include/rtems/posix/timerimpl.h b/cpukit/posix/include/rtems/posix/timerimpl.h index 73f953b45e..ca108201a6 100644 --- a/cpukit/posix/include/rtems/posix/timerimpl.h +++ b/cpukit/posix/include/rtems/posix/timerimpl.h @@ -20,6 +20,7 @@ #define _RTEMS_POSIX_TIMERIMPL_H #include <rtems/posix/timer.h> +#include <rtems/score/objectimpl.h> #ifdef __cplusplus extern "C" { diff --git a/cpukit/posix/src/barrierattrdestroy.c b/cpukit/posix/src/barrierattrdestroy.c index 6fe52f4de2..25c23250c2 100644 --- a/cpukit/posix/src/barrierattrdestroy.c +++ b/cpukit/posix/src/barrierattrdestroy.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c index c7b91fba88..8b819d7d91 100644 --- a/cpukit/posix/src/cond.c +++ b/cpukit/posix/src/cond.c @@ -24,7 +24,6 @@ #include <rtems/system.h> #include <rtems/config.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condattrdestroy.c b/cpukit/posix/src/condattrdestroy.c index a8f1c63bc7..b46b745dbd 100644 --- a/cpukit/posix/src/condattrdestroy.c +++ b/cpukit/posix/src/condattrdestroy.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condattrgetpshared.c b/cpukit/posix/src/condattrgetpshared.c index 42e0121c2f..4c0dd348c9 100644 --- a/cpukit/posix/src/condattrgetpshared.c +++ b/cpukit/posix/src/condattrgetpshared.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condattrinit.c b/cpukit/posix/src/condattrinit.c index 4007e3ac2a..6708bd0887 100644 --- a/cpukit/posix/src/condattrinit.c +++ b/cpukit/posix/src/condattrinit.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condattrsetpshared.c b/cpukit/posix/src/condattrsetpshared.c index d3b3564d90..186f5bd760 100644 --- a/cpukit/posix/src/condattrsetpshared.c +++ b/cpukit/posix/src/condattrsetpshared.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condbroadcast.c b/cpukit/posix/src/condbroadcast.c index 14e78e700a..9d163771c4 100644 --- a/cpukit/posix/src/condbroadcast.c +++ b/cpukit/posix/src/condbroadcast.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/conddefaultattributes.c b/cpukit/posix/src/conddefaultattributes.c index aec90f2e05..7221d1a1bc 100644 --- a/cpukit/posix/src/conddefaultattributes.c +++ b/cpukit/posix/src/conddefaultattributes.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/conddestroy.c b/cpukit/posix/src/conddestroy.c index 91388fae4c..7c815e0423 100644 --- a/cpukit/posix/src/conddestroy.c +++ b/cpukit/posix/src/conddestroy.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condget.c b/cpukit/posix/src/condget.c index 4f3bc14a3f..5806708274 100644 --- a/cpukit/posix/src/condget.c +++ b/cpukit/posix/src/condget.c @@ -15,7 +15,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condinit.c b/cpukit/posix/src/condinit.c index 2c6bd8d609..26a812ddf5 100644 --- a/cpukit/posix/src/condinit.c +++ b/cpukit/posix/src/condinit.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condsignal.c b/cpukit/posix/src/condsignal.c index 2f2c9b7ae1..fede6bc139 100644 --- a/cpukit/posix/src/condsignal.c +++ b/cpukit/posix/src/condsignal.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condsignalsupp.c b/cpukit/posix/src/condsignalsupp.c index 0261b048bd..229f96cacb 100644 --- a/cpukit/posix/src/condsignalsupp.c +++ b/cpukit/posix/src/condsignalsupp.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condtimedwait.c b/cpukit/posix/src/condtimedwait.c index 4328615604..2fe1aec218 100644 --- a/cpukit/posix/src/condtimedwait.c +++ b/cpukit/posix/src/condtimedwait.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condwait.c b/cpukit/posix/src/condwait.c index cbd6d957b5..a6e933939b 100644 --- a/cpukit/posix/src/condwait.c +++ b/cpukit/posix/src/condwait.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/condwaitsupp.c b/cpukit/posix/src/condwaitsupp.c index cbc21c3137..86ad3aa6b6 100644 --- a/cpukit/posix/src/condwaitsupp.c +++ b/cpukit/posix/src/condwaitsupp.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/keyrundestructors.c b/cpukit/posix/src/keyrundestructors.c index 9f48888bb8..eb692e0dc9 100644 --- a/cpukit/posix/src/keyrundestructors.c +++ b/cpukit/posix/src/keyrundestructors.c @@ -21,7 +21,6 @@ #endif #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/thread.h> #include <rtems/posix/key.h> diff --git a/cpukit/posix/src/posixtimespecabsolutetimeout.c b/cpukit/posix/src/posixtimespecabsolutetimeout.c index 913de6c9c0..c46f13bf89 100644 --- a/cpukit/posix/src/posixtimespecabsolutetimeout.c +++ b/cpukit/posix/src/posixtimespecabsolutetimeout.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/rwlockattrdestroy.c b/cpukit/posix/src/rwlockattrdestroy.c index 5b18f0e673..a2f482567c 100644 --- a/cpukit/posix/src/rwlockattrdestroy.c +++ b/cpukit/posix/src/rwlockattrdestroy.c @@ -22,7 +22,6 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/watchdog.h> #include <rtems/posix/condimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/semaphore.c b/cpukit/posix/src/semaphore.c index 21d67c5646..0d139c2f46 100644 --- a/cpukit/posix/src/semaphore.c +++ b/cpukit/posix/src/semaphore.c @@ -28,7 +28,6 @@ #include <rtems/system.h> #include <rtems/config.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semaphorecreatesupp.c b/cpukit/posix/src/semaphorecreatesupp.c index fecbdb5f48..92969409e6 100644 --- a/cpukit/posix/src/semaphorecreatesupp.c +++ b/cpukit/posix/src/semaphorecreatesupp.c @@ -28,7 +28,6 @@ #include <string.h> /* strlen */ #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/score/wkspace.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> diff --git a/cpukit/posix/src/semaphoredeletesupp.c b/cpukit/posix/src/semaphoredeletesupp.c index 6e46f53511..f49ef38415 100644 --- a/cpukit/posix/src/semaphoredeletesupp.c +++ b/cpukit/posix/src/semaphoredeletesupp.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semaphorewaitsupp.c b/cpukit/posix/src/semaphorewaitsupp.c index a590537d10..93816dbbff 100644 --- a/cpukit/posix/src/semaphorewaitsupp.c +++ b/cpukit/posix/src/semaphorewaitsupp.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semclose.c b/cpukit/posix/src/semclose.c index 81cb3161d5..2b7eb4a487 100644 --- a/cpukit/posix/src/semclose.c +++ b/cpukit/posix/src/semclose.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semdestroy.c b/cpukit/posix/src/semdestroy.c index 0e547df205..f4bb1a8469 100644 --- a/cpukit/posix/src/semdestroy.c +++ b/cpukit/posix/src/semdestroy.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semgetvalue.c b/cpukit/posix/src/semgetvalue.c index b0ffec3117..65b85e1941 100644 --- a/cpukit/posix/src/semgetvalue.c +++ b/cpukit/posix/src/semgetvalue.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/seminit.c b/cpukit/posix/src/seminit.c index 39a75b5e2b..c40ee5485e 100644 --- a/cpukit/posix/src/seminit.c +++ b/cpukit/posix/src/seminit.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c index c74925b4c9..b86308030b 100644 --- a/cpukit/posix/src/semopen.c +++ b/cpukit/posix/src/semopen.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c index 6b9f87648f..3a23f22129 100644 --- a/cpukit/posix/src/sempost.c +++ b/cpukit/posix/src/sempost.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semtimedwait.c b/cpukit/posix/src/semtimedwait.c index f9e57ecc01..e75198c37d 100644 --- a/cpukit/posix/src/semtimedwait.c +++ b/cpukit/posix/src/semtimedwait.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semtrywait.c b/cpukit/posix/src/semtrywait.c index 2aa6d284bd..9ef802cbab 100644 --- a/cpukit/posix/src/semtrywait.c +++ b/cpukit/posix/src/semtrywait.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c index cee2a6427e..8f268d9a3d 100644 --- a/cpukit/posix/src/semunlink.c +++ b/cpukit/posix/src/semunlink.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> diff --git a/cpukit/posix/src/semwait.c b/cpukit/posix/src/semwait.c index fbc59e44a8..1918bb1e9d 100644 --- a/cpukit/posix/src/semwait.c +++ b/cpukit/posix/src/semwait.c @@ -27,7 +27,6 @@ #include <limits.h> #include <rtems/system.h> -#include <rtems/score/object.h> #include <rtems/posix/semaphoreimpl.h> #include <rtems/posix/time.h> #include <rtems/seterr.h> |