]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/SynchronizationMsc.c
Code scrub:
[mirror_edk2.git] / MdePkg / Library / BaseLib / SynchronizationMsc.c
index 0bc60259b170bc6cd0517df8751d1a30386f9d74..a4fc399387b98a5906a4e4ab893423325d2c1b37 100644 (file)
@@ -51,7 +51,6 @@ GetSpinLockProperties (
   VOID\r
   )\r
 {\r
-  // @bug May use a PCD entry to determine this alignment.\r
   return 32;\r
 }\r
 \r
@@ -68,7 +67,7 @@ GetSpinLockProperties (
   @param  SpinLock  A pointer to the spin lock to initialize to the released\r
                     state.\r
 \r
-  @return SpinLock\r
+  @return SpinLock in released state.\r
 \r
 **/\r
 SPIN_LOCK *\r
@@ -103,7 +102,7 @@ InitializeSpinLock (
 \r
   @param  SpinLock  A pointer to the spin lock to place in the acquired state.\r
 \r
-  @return SpinLock\r
+  @return SpinLock aquiring lock.\r
 \r
 **/\r
 SPIN_LOCK *\r
@@ -226,7 +225,7 @@ AcquireSpinLockOrFail (
 \r
   @param  SpinLock  A pointer to the spin lock to release.\r
 \r
-  @return SpinLock\r
+  @return SpinLock releasing lock.\r
 \r
 **/\r
 SPIN_LOCK *\r
@@ -375,6 +374,8 @@ InterlockedCompareExchange64 (
                         operation.\r
   @param  CompareValue  Pointer value used in compare operation.\r
   @param  ExchangeValue Pointer value used in exchange operation.\r
+  \r
+  @return The original *Value before exchange.\r
 \r
 **/\r
 VOID *\r