summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/attr.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 11:12:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 15:12:52 +0200
commit63d229d655f10dcce750478b36aa8d7846ad8756 (patch)
tree68c28177f2fa59eb8dc13f7ded150542b3289015 /cpukit/rtems/include/rtems/rtems/attr.h
parentrtems: Create options implementation header (diff)
downloadrtems-63d229d655f10dcce750478b36aa8d7846ad8756.tar.bz2
rtems: Create attr implementation header
Move implementation specific parts of attr.h and attr.inl into new header file attrimpl.h. The attr.h contains now only the application visible API.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/attr.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/attr.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/attr.h b/cpukit/rtems/include/rtems/rtems/attr.h
index 4753e3acee..5fed4c53de 100644
--- a/cpukit/rtems/include/rtems/rtems/attr.h
+++ b/cpukit/rtems/include/rtems/rtems/attr.h
@@ -21,6 +21,8 @@
#ifndef _RTEMS_RTEMS_ATTR_H
#define _RTEMS_RTEMS_ATTR_H
+#include <rtems/score/basedefs.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -165,37 +167,11 @@ typedef uint32_t rtems_attribute;
*/
#define RTEMS_SYSTEM_TASK 0x00008000
-/****************** Forced Attributes in Configuration ****************/
-
-/**
- * This attribute constant indicates the attributes that are not
- * supportable given the hardware configuration.
- */
-#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
-#define ATTRIBUTES_NOT_SUPPORTED 0
-#else
-#define ATTRIBUTES_NOT_SUPPORTED RTEMS_FLOATING_POINT
-#endif
-
-/**
- * This attribute constant indicates the attributes that are
- * required given the hardware configuration.
- */
-#if ( CPU_ALL_TASKS_ARE_FP == TRUE )
-#define ATTRIBUTES_REQUIRED RTEMS_FLOATING_POINT
-#else
-#define ATTRIBUTES_REQUIRED 0
-#endif
-
-#ifndef __RTEMS_APPLICATION__
-#include <rtems/rtems/attr.inl>
-#endif
+/**@}*/
#ifdef __cplusplus
}
#endif
-/**@}*/
-
#endif
/* end of include file */