]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg/PeiTimerLib: Bug fix in NanoSecondDelay
authorDeric Cole <deric.cole@intel.com>
Wed, 8 Feb 2023 16:41:03 +0000 (08:41 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Feb 2023 02:04:37 +0000 (02:04 +0000)
commitf6ce1a5cd8932844ec24701d158254ccf75b6159
tree3cd1767baa68e7c538b0bc1f56dae6f5e985b613
parentb59e6fdae2545b45c36c8c5373f4b858fb83c8cd
EmulatorPkg/PeiTimerLib: Bug fix in NanoSecondDelay

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4339

Thunk->Sleep is expecting nanoseconds, no need to multiply by 100.

Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Deric Cole <deric.cole@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
EmulatorPkg/Include/Protocol/EmuThunk.h
EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.c