]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.c
EmulatorPkg/PeiTimerLib: Bug fix in NanoSecondDelay
[mirror_edk2.git] / EmulatorPkg / Library / PeiTimerLib / PeiTimerLib.c
index 8c4f20f42b47f0b71f93cc30be166ab5e0e1fe95..5344719f98d81520dceaa8b0f842aea54373067e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   A non-functional instance of the Timer Library.\r
 \r
-  Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -65,7 +65,7 @@ NanoSecondDelay (
              );\r
   if (!EFI_ERROR (Status)) {\r
     Thunk = (EMU_THUNK_PROTOCOL *)ThunkPpi->Thunk ();\r
-    Thunk->Sleep (NanoSeconds * 100);\r
+    Thunk->Sleep (NanoSeconds);\r
     return NanoSeconds;\r
   }\r
 \r