summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/corespinlock.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/inline/rtems/score/corespinlock.inl')
-rw-r--r--cpukit/score/inline/rtems/score/corespinlock.inl13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/inline/rtems/score/corespinlock.inl b/cpukit/score/inline/rtems/score/corespinlock.inl
index 2cb17165d8..05e3408742 100644
--- a/cpukit/score/inline/rtems/score/corespinlock.inl
+++ b/cpukit/score/inline/rtems/score/corespinlock.inl
@@ -30,6 +30,19 @@
/**
*
+ * This method is used to initialize core spinlock attributes.
+ *
+ * @param[in] the_attributes pointer to the attributes to initialize.
+ */
+RTEMS_INLINE_ROUTINE void _CORE_spinlock_Initialize_attributes(
+ CORE_spinlock_Attributes *the_attributes
+)
+{
+ the_attributes->XXX = 0;
+}
+
+/**
+ *
* This method is used to determine if the spinlock is available or not.
*
* @param[in] the_spinlock will be checked