diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 10:54:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-29 10:52:45 +0100 |
commit | 54f35888311f36baaefd90b1f31e4150e3db5465 (patch) | |
tree | 967692c3c0ae9e1570895b052a9f73441dc97256 /cpukit/libcsupport/src/resource_snapshot.c | |
parent | posix: Hide POSIX_API_Control by default (diff) | |
download | rtems-54f35888311f36baaefd90b1f31e4150e3db5465.tar.bz2 |
posix: Provide threads by default
Update #2514.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/resource_snapshot.c | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/cpukit/libcsupport/src/resource_snapshot.c b/cpukit/libcsupport/src/resource_snapshot.c index caa3d3ebb3..86f7d28188 100644 --- a/cpukit/libcsupport/src/resource_snapshot.c +++ b/cpukit/libcsupport/src/resource_snapshot.c @@ -26,30 +26,8 @@ #include <rtems/score/protectedheap.h> #include <rtems/score/threadimpl.h> #include <rtems/score/wkspace.h> - #include <rtems/posix/keyimpl.h> -#include <rtems/rtems/barrierimpl.h> -#include <rtems/extensionimpl.h> -#include <rtems/rtems/dpmemimpl.h> -#include <rtems/rtems/messageimpl.h> -#include <rtems/rtems/partimpl.h> -#include <rtems/rtems/ratemonimpl.h> -#include <rtems/rtems/regionimpl.h> -#include <rtems/rtems/semimpl.h> -#include <rtems/rtems/tasksimpl.h> -#include <rtems/rtems/timerimpl.h> - -#ifdef RTEMS_POSIX_API - #include <rtems/posix/barrierimpl.h> - #include <rtems/posix/mqueueimpl.h> - #include <rtems/posix/muteximpl.h> - #include <rtems/posix/psignal.h> - #include <rtems/posix/pthreadimpl.h> - #include <rtems/posix/semaphoreimpl.h> - #include <rtems/posix/timerimpl.h> -#endif - static const struct { Objects_APIs api; uint16_t cls; @@ -64,12 +42,12 @@ static const struct { { OBJECTS_CLASSIC_API, OBJECTS_RTEMS_REGIONS }, { OBJECTS_CLASSIC_API, OBJECTS_RTEMS_SEMAPHORES }, { OBJECTS_CLASSIC_API, OBJECTS_RTEMS_TASKS }, - { OBJECTS_CLASSIC_API, OBJECTS_RTEMS_TIMERS } + { OBJECTS_CLASSIC_API, OBJECTS_RTEMS_TIMERS }, + { OBJECTS_POSIX_API, OBJECTS_POSIX_MESSAGE_QUEUES }, + { OBJECTS_POSIX_API, OBJECTS_POSIX_SEMAPHORES }, + { OBJECTS_POSIX_API, OBJECTS_POSIX_THREADS } #ifdef RTEMS_POSIX_API , - { OBJECTS_POSIX_API, OBJECTS_POSIX_MESSAGE_QUEUES }, - { OBJECTS_POSIX_API, OBJECTS_POSIX_SEMAPHORES }, - { OBJECTS_POSIX_API, OBJECTS_POSIX_THREADS }, { OBJECTS_POSIX_API, OBJECTS_POSIX_TIMERS } #endif }; |