From 6157b6c36afcf5956271267ce66630d23025f33c Mon Sep 17 00:00:00 2001 From: mdkinney Date: Tue, 27 Nov 2007 02:50:59 +0000 Subject: [PATCH] Change Sleep() time to 1ms to reduce pauses when running on single CPU system git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4329 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/TimerDxe/Timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nt32Pkg/TimerDxe/Timer.c b/Nt32Pkg/TimerDxe/Timer.c index 3997c5f913..97ea73345b 100644 --- a/Nt32Pkg/TimerDxe/Timer.c +++ b/Nt32Pkg/TimerDxe/Timer.c @@ -144,7 +144,7 @@ Returns: // mCpu->GetInterruptState (mCpu, &InterruptState); while (!InterruptState) { - gWinNt->Sleep (0); + gWinNt->Sleep (1); mCpu->GetInterruptState (mCpu, &InterruptState); }