]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Synchronization.c
Fix invalid return status to sync with newest UEFI spec 2.1
[mirror_edk2.git] / MdePkg / Library / BaseLib / Synchronization.c
index 59919a7f03b1ac1955d1075fd30585d060e10c94..b7c89732e0f19b5d8daf7f6fa056dafed5e104ca 100644 (file)
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-  Module Name:  Synchronization.c\r
-\r
 **/\r
 \r
-#include "BaseLibInternals.h"\r
-\r
 //\r
-// SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED should belong to type "SPIN_LOCK".\r
-// Here we use type-case "UINTN" to avoid "volatile" modifier on const integers.\r
+// Include common header file for this module.\r
 //\r
+\r
+\r
+#include "BaseLibInternals.h"\r
+\r
 #define SPIN_LOCK_RELEASED          ((UINTN) 1)\r
 #define SPIN_LOCK_ACQUIRED          ((UINTN) 2)\r
 \r