CSM should firstly set timer to enable state at first, then RestoreTpl is called.

Signed-off-by: li-elvin
Reviewed-by: rsun3

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12555 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
li-elvin 2011-10-21 08:45:07 +00:00
parent 9a000b464f
commit b17f22f50b
1 changed files with 5 additions and 5 deletions

View File

@ -314,15 +314,15 @@ InternalLegacyBiosFarCall (
mThunkContext.RealModeState = NULL;
//
// End critical section
//
gBS->RestoreTPL (OriginalTpl);
//
// Enable and restore rate of DXE Timer
//
Private->Timer->SetTimerPeriod (Private->Timer, TimerPeriod);
//
// End critical section
//
gBS->RestoreTPL (OriginalTpl);
//
// Restore interrupt of debug timer