diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-25 14:00:54 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-25 14:00:54 +0000 |
commit | 37226e89c702927ef733bc70e0d0bac624ba43e9 (patch) | |
tree | d8b24024de1eb1de955e8a0814161842d7e73d6c /MdeModulePkg/Universal/PCD | |
parent | 3dcdbe7a523abae3829da23d9550db5fff05417b (diff) | |
download | edk2-37226e89c702927ef733bc70e0d0bac624ba43e9.zip edk2-37226e89c702927ef733bc70e0d0bac624ba43e9.tar.gz edk2-37226e89c702927ef733bc70e0d0bac624ba43e9.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Universal/PCD')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Pcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c index db9594a..36261a4 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c @@ -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,
|