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 @@ -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