]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.c
EmulatorPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmulatorPkg / Library / PeiTimerLib / PeiTimerLib.c
index caf8a7c14a02266a92f487bbd918eacf242f6fb7..cce46fb366e185e3559d56d68759c85cea2987bf 100644 (file)
@@ -2,13 +2,7 @@
   A non-functional instance of the Timer Library.\r
 \r
   Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
-  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
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -60,7 +54,7 @@ NanoSecondDelay (
   EMU_THUNK_PROTOCOL      *Thunk;\r
 \r
   //\r
-  // Locate EmuThunkPpi for \r
+  // Locate EmuThunkPpi for\r
   //\r
   Status = PeiServicesLocatePpi (\r
               &gEmuThunkPpiGuid,\r
@@ -68,7 +62,7 @@ NanoSecondDelay (
               NULL,\r
               (VOID **) &ThunkPpi\r
              );\r
-  if (!EFI_ERROR (Status)) {   \r
+  if (!EFI_ERROR (Status)) {\r
     Thunk  = (EMU_THUNK_PROTOCOL *)ThunkPpi->Thunk ();\r
     Thunk->Sleep (NanoSeconds * 100);\r
     return NanoSeconds;\r
@@ -99,7 +93,7 @@ GetPerformanceCounter (
   EMU_THUNK_PROTOCOL      *Thunk;\r
 \r
   //\r
-  // Locate EmuThunkPpi for \r
+  // Locate EmuThunkPpi for\r
   //\r
   Status = PeiServicesLocatePpi (\r
               &gEmuThunkPpiGuid,\r
@@ -107,7 +101,7 @@ GetPerformanceCounter (
               NULL,\r
               (VOID **) &ThunkPpi\r
              );\r
-  if (!EFI_ERROR (Status)) {   \r
+  if (!EFI_ERROR (Status)) {\r
     Thunk  = (EMU_THUNK_PROTOCOL *)ThunkPpi->Thunk ();\r
     return  Thunk->QueryPerformanceCounter ();\r
   }\r
@@ -150,7 +144,7 @@ GetPerformanceCounterProperties (
   EMU_THUNK_PROTOCOL      *Thunk;\r
 \r
   //\r
-  // Locate EmuThunkPpi for \r
+  // Locate EmuThunkPpi for\r
   //\r
   Status = PeiServicesLocatePpi (\r
               &gEmuThunkPpiGuid,\r
@@ -165,7 +159,7 @@ GetPerformanceCounterProperties (
     if (EndValue != NULL) {\r
       *EndValue = (UINT64)-1LL;\r
     }\r
-    \r
+\r
     Thunk  = (EMU_THUNK_PROTOCOL *)ThunkPpi->Thunk ();\r
     return  Thunk->QueryPerformanceFrequency ();\r
   }\r