mirror of https://github.com/acidanthera/audk.git
Change the TPL lock level to EFI_TPL_NOTIFY. Variable Service is called in ResetSystem runtime service. As there is no restriction stated in UEFI spec about TPL restriction for ResetSystem, so SCT does test it under NOTIFY level. This fix can be temperary. We may revert it back after discussion with Architects..
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2492 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
21801bb353
commit
6dcb94c713
|
@ -826,7 +826,7 @@ Returns:
|
|||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
||||
EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_CALLBACK);
|
||||
EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_NOTIFY);
|
||||
|
||||
//
|
||||
// Intialize volatile variable store
|
||||
|
|
|
@ -1320,7 +1320,7 @@ Returns:
|
|||
return Status;
|
||||
}
|
||||
|
||||
EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_CALLBACK);
|
||||
EfiInitializeLock(&mVariableModuleGlobal->VariableGlobal[Physical].VariableServicesLock, EFI_TPL_NOTIFY);
|
||||
|
||||
//
|
||||
// Allocate memory for volatile variable store
|
||||
|
|
Loading…
Reference in New Issue