mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
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:
parent
9a000b464f
commit
b17f22f50b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user