summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsbuildid.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/rtemsbuildid.c')
-rw-r--r--cpukit/rtems/src/rtemsbuildid.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/cpukit/rtems/src/rtemsbuildid.c b/cpukit/rtems/src/rtemsbuildid.c
new file mode 100644
index 0000000000..916d1dfab5
--- /dev/null
+++ b/cpukit/rtems/src/rtemsbuildid.c
@@ -0,0 +1,31 @@
+/*
+ * RTEMS Object Helper -- Build an Object Id
+ *
+ * COPYRIGHT (c) 1989-2008.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/system.h>
+#include <rtems/score/object.h>
+#include <rtems/rtems/types.h>
+
+#undef rtems_build_id
+rtems_id rtems_build_id(
+ uint32_t api,
+ uint32_t class,
+ uint32_t node,
+ uint32_t index
+)
+{
+ return _Objects_Build_id( api, class, node, index );
+}