Add Lock for cirtical section in PCD database processing routines as PCD database is a shared resource in the system. The lock level is defined as EFI_TPL_CALLBACK. The PCD spec should be updated accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2264 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -475,4 +475,6 @@ extern PCD_DATABASE * mPcdDatabase;
|
||||
|
||||
extern DXE_PCD_DATABASE_INIT gDXEPcdDbInit;
|
||||
|
||||
extern EFI_LOCK mPcdDatabaseLock;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user