Home | History | Annotate | Download | only in Pei

Lines Matching defs:Database

3   They build Pei PCD database, and provide access service to PCD database.

21 @param[in] Database PCD database.
28 IN PEI_PCD_DATABASE *Database,
43 LocalTokenNumber = *((UINT32 *)((UINT8 *)Database + Database->LocalTokenNumberTableOffset) + TokenNumber);
49 GetPtrTypeSize (TokenNumber, &MaxSize, Database);
97 @param[in] Database PCD database.
105 IN PEI_PCD_DATABASE *Database,
119 if (Database->PcdNameTableOffset == 0) {
130 StringTable = (UINT8 *) Database + Database->StringTableOffset;
135 PcdNameIndex = (PCD_NAME_INDEX *)((UINT8 *) Database + Database->PcdNameTableOffset) + TokenNumber;
168 @param[in] Database PCD database.
179 IN PEI_PCD_DATABASE *Database,
192 GuidTable = (EFI_GUID *)((UINT8 *)Database + Database->GuidTableOffset);
193 MatchGuid = ScanGuid (GuidTable, Database->GuidTableCount * sizeof(EFI_GUID), Guid);
201 ExMapTable = (DYNAMICEX_MAPPING *)((UINT8 *)Database + Database->ExMapTableOffset);
206 for (Index = 0; Index < Database->ExTokenCount; Index++) {
219 PcdInfo->PcdName = GetPcdName (TRUE, Database, ExMapTable[Index].TokenNumber);
223 LocalTokenNumber = GetLocalTokenNumber (Database, ExMapTable[Index].TokenNumber);
225 PcdInfo->PcdName = GetPcdName (FALSE, Database, ExMapTable[Index].TokenNumber);
399 Find the Pcd database.
401 @param FileHandle Handle of the file the external PCD database binary located.
403 @retval The base address of external PCD database binary.
433 The function builds the PCD database.
435 @param FileHandle Handle of the file the external PCD database binary located.
437 @return Pointer to PCD database.
444 PEI_PCD_DATABASE *Database;
450 // Locate the external PCD database binary for one section of current FFS
456 Database = BuildGuidHob (&gPcdDataBaseHobGuid, PeiPcdDbBinary->Length + PeiPcdDbBinary->UninitDataBaseSize);
458 ZeroMem (Database, PeiPcdDbBinary->Length + PeiPcdDbBinary->UninitDataBaseSize);
461 // PeiPcdDbBinary is smaller than Database
463 CopyMem (Database, PeiPcdDbBinary, PeiPcdDbBinary->Length);
465 SizeOfCallbackFnTable = Database->LocalTokenCount * sizeof (PCD_PPI_CALLBACK) * PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry);
471 return Database;
712 @retval EFI_INVALID_PARAMETER If Size of non-Ptr type PCD does not match the size information in PCD database.
914 @return PCD entry in PCD database.
928 Get the PCD entry pointer in PCD database.
930 This routine will visit PCD database to find the PCD entry according to given
933 offset of PCD entry in PCD database.
938 @return PCD entry pointer in PCD database
1025 // to the default value buffer in the PCD Database
1055 in DEC file. PCD database maintain a mapping table that translate pair of {token
1102 Get PCD database from GUID HOB in PEI phase.
1104 @return Pointer to PCD database.
1121 Get SKU ID table from PCD database.
1124 @param Database PCD database.
1132 IN PEI_PCD_DATABASE *Database
1138 LocalTokenNumber = *((UINT32 *)((UINT8 *)Database + Database->LocalTokenNumberTableOffset) + LocalTokenNumberTableIdx);
1142 SkuHead = (SKU_HEAD *) ((UINT8 *)Database + (LocalTokenNumber & PCD_DATABASE_OFFSET_MASK));
1144 return (SKU_ID *) ((UINT8 *)Database + SkuHead->SkuIdTableOffset);
1152 @param Database Pointer to PCD database in PEI phase.
1160 IN PEI_PCD_DATABASE *Database
1171 LocalTokenNumber = *((UINT32 *)((UINT8 *)Database + Database->LocalTokenNumberTableOffset) + Index);
1200 SkuIdTable = GetSkuIdArray (Index, Database);