summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/extensiondata.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/extensiondata.h')
-rw-r--r--cpukit/include/rtems/extensiondata.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/cpukit/include/rtems/extensiondata.h b/cpukit/include/rtems/extensiondata.h
index e665fda04f..61319d5668 100644
--- a/cpukit/include/rtems/extensiondata.h
+++ b/cpukit/include/rtems/extensiondata.h
@@ -37,6 +37,31 @@ typedef struct {
User_extensions_Control Extension;
} Extension_Control;
+/**
+ * @brief The Classic Extensions objects information.
+ */
+extern Objects_Information _Extension_Information;
+
+/**
+ * @brief Macro to define the objects information for the Classic Extensions
+ * objects.
+ *
+ * This macro should only be used by <rtems/confdefs.h>.
+ *
+ * @param max The configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag
+ * may be set).
+ */
+#define EXTENSION_INFORMATION_DEFINE( max ) \
+ OBJECTS_INFORMATION_DEFINE( \
+ _Extension, \
+ OBJECTS_CLASSIC_API, \
+ OBJECTS_RTEMS_EXTENSIONS, \
+ Extension_Control, \
+ max, \
+ OBJECTS_NO_STRING_NAME, \
+ NULL \
+ )
+
/** @} */
#ifdef __cplusplus