mirror of https://github.com/acidanthera/audk.git
Add a work around to set the PCD protocol lock to TPL_NOTIFY to relax the restriction on caller of PCD protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7695 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3dcdbe7a52
commit
37226e89c7
|
@ -25,7 +25,7 @@ EFI_GUID *TmpTokenSpaceBuffer[PEI_EXMAPPING_TABLE_SIZE + DXE_EXMAPPING_TABLE_SIZ
|
|||
///
|
||||
/// PCD database lock.
|
||||
///
|
||||
EFI_LOCK mPcdDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);
|
||||
EFI_LOCK mPcdDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_NOTIFY);
|
||||
|
||||
PCD_PROTOCOL mPcdInstance = {
|
||||
DxePcdSetSku,
|
||||
|
|
Loading…
Reference in New Issue