summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/object.h')
-rw-r--r--cpukit/include/rtems/rtems/object.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/object.h b/cpukit/include/rtems/rtems/object.h
index 3f70fc3f1c..d6ae058425 100644
--- a/cpukit/include/rtems/rtems/object.h
+++ b/cpukit/include/rtems/rtems/object.h
@@ -357,6 +357,16 @@ rtems_status_code rtems_object_get_class_information(
rtems_object_api_class_information *info
);
+/**
+ * @brief Get the local MPCI node number.
+ *
+ * @return The local MPCI node number.
+ */
+RTEMS_INLINE_ROUTINE uint16_t rtems_object_get_local_node( void )
+{
+ return _Objects_Local_node;
+}
+
#ifdef __cplusplus
}
#endif