]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Library/Library.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Library / Library.c
index 19fa2ddcdf776f9af8b0dc45ec100b2275deae65..63cef1daca149e36ca1e38181de3ea3d2cf290e2 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   DXE Core library services.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-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
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -17,6 +11,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Lock Stuff\r
 //\r
+\r
 /**\r
   Initialize a basic mutual exclusion lock.   Each lock\r
   provides mutual exclusion access at it's task priority\r
@@ -51,8 +46,6 @@ CoreAcquireLockOrFail (
   return EFI_SUCCESS;\r
 }\r
 \r
-\r
-\r
 /**\r
   Raising to the task priority level of the mutual exclusion\r
   lock, and then acquires ownership of the lock.\r
@@ -74,8 +67,6 @@ CoreAcquireLock (
   Lock->Lock     = EfiLockAcquired;\r
 }\r
 \r
-\r
-\r
 /**\r
   Releases ownership of the mutual exclusion lock, and\r
   restores the previous task priority level.\r
@@ -90,7 +81,7 @@ CoreReleaseLock (
   IN EFI_LOCK  *Lock\r
   )\r
 {\r
-  EFI_TPL Tpl;\r
+  EFI_TPL  Tpl;\r
 \r
   ASSERT (Lock != NULL);\r
   ASSERT (Lock->Lock == EfiLockAcquired);\r
@@ -101,6 +92,3 @@ CoreReleaseLock (
 \r
   CoreRestoreTpl (Tpl);\r
 }\r
-\r
-\r
-\r