diff options
Diffstat (limited to 'EdkModulePkg/Universal/PCD/Pei/Service.c')
-rw-r--r-- | EdkModulePkg/Universal/PCD/Pei/Service.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/EdkModulePkg/Universal/PCD/Pei/Service.c b/EdkModulePkg/Universal/PCD/Pei/Service.c index 8d03d9c2b1..011e3aa36e 100644 --- a/EdkModulePkg/Universal/PCD/Pei/Service.c +++ b/EdkModulePkg/Universal/PCD/Pei/Service.c @@ -545,6 +545,10 @@ GetExPcdTokenNumber ( GuidTable = PeiPcdDb->Init.GuidTable;
MatchGuid = ScanGuid (GuidTable, sizeof(PeiPcdDb->Init.GuidTable), Guid);
+ //
+ // We need to ASSERT here. If GUID can't be found in GuidTable, this is a
+ // error in the BUILD system.
+ //
ASSERT (MatchGuid != NULL);
MatchGuidIdx = MatchGuid - GuidTable;
|