diff options
-rw-r--r-- | IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c index 16c873d8f5..3d9a8b9649 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c @@ -315,14 +315,14 @@ InternalLegacyBiosFarCall ( mThunkContext.RealModeState = NULL;
//
- // End critical section
+ // Enable and restore rate of DXE Timer
//
- gBS->RestoreTPL (OriginalTpl);
+ Private->Timer->SetTimerPeriod (Private->Timer, TimerPeriod);
//
- // Enable and restore rate of DXE Timer
+ // End critical section
//
- Private->Timer->SetTimerPeriod (Private->Timer, TimerPeriod);
+ gBS->RestoreTPL (OriginalTpl);
//
// Restore interrupt of debug timer
|