diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-27 02:50:59 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-27 02:50:59 +0000 |
commit | 6157b6c36afcf5956271267ce66630d23025f33c (patch) | |
tree | 9f50ba010f8798c5c03ee708e4c8f15313b0feed /Nt32Pkg | |
parent | 24a7505cefd6dbb73bcdf2778f4e59095780aa50 (diff) | |
download | edk2-6157b6c36afcf5956271267ce66630d23025f33c.tar.gz edk2-6157b6c36afcf5956271267ce66630d23025f33c.tar.bz2 edk2-6157b6c36afcf5956271267ce66630d23025f33c.zip |
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
Diffstat (limited to 'Nt32Pkg')
-rw-r--r-- | Nt32Pkg/TimerDxe/Timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|