mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
24a7505cef
commit
6157b6c36a
|
@ -144,7 +144,7 @@ Returns:
|
||||||
//
|
//
|
||||||
mCpu->GetInterruptState (mCpu, &InterruptState);
|
mCpu->GetInterruptState (mCpu, &InterruptState);
|
||||||
while (!InterruptState) {
|
while (!InterruptState) {
|
||||||
gWinNt->Sleep (0);
|
gWinNt->Sleep (1);
|
||||||
mCpu->GetInterruptState (mCpu, &InterruptState);
|
mCpu->GetInterruptState (mCpu, &InterruptState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue