/** @file\r
The internal header file declares the private functions used by PeiPcd driver.\r
\r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include <Ppi/Pcd.h>\r
#include <Ppi/PiPcd.h>\r
#include <Guid/PcdDataBaseHobGuid.h>\r
+#include <Guid/PcdDataBaseSignatureGuid.h>\r
#include <Library/DebugLib.h>\r
#include <Library/PeimEntryPoint.h>\r
#include <Library/BaseLib.h>\r
// Please make sure the PCD Serivce PEIM Version is consistent with\r
// the version of the generated PEIM PCD Database by build tool.\r
//\r
-#define PCD_SERVICE_PEIM_VERSION 2\r
+#define PCD_SERVICE_PEIM_VERSION 4\r
\r
//\r
// PCD_PEI_SERVICE_DRIVER_VERSION is defined in Autogen.h.\r
} EX_PCD_ENTRY_ATTRIBUTE;\r
\r
/**\r
- Get local token number according to dynamic-ex PCD's {token space guid:token number}\r
+ Get Token Number according to dynamic-ex PCD's {token space guid:token number}\r
\r
A dynamic-ex type PCD, developer must provide pair of token space guid: token number\r
in DEC file. PCD database maintain a mapping table that translate pair of {token\r
- space guid: token number} to local token number.\r
+ space guid: token number} to Token Number.\r
\r
@param Guid Token space guid for dynamic-ex PCD entry.\r
@param ExTokenNumber Token number for dynamic-ex PCD.\r
\r
- @return local token number for dynamic-ex PCD.\r
+ @return Token Number for dynamic-ex PCD.\r
\r
**/\r
UINTN\r
\r
/**\r
The function builds the PCD database.\r
+\r
+ @param FileHandle Handle of the file the external PCD database binary located.\r
+\r
**/\r
VOID\r
BuildPcdDatabase (\r
- VOID\r
+ IN EFI_PEI_FILE_HANDLE FileHandle\r
);\r
\r
/**\r
IN PEI_PCD_DATABASE *Database\r
);\r
\r
-//\r
-// The init Database created by PCD Database generation tool\r
-//\r
-extern PEI_PCD_DATABASE_INIT gPEIPcdDbInit;\r
-\r
#endif\r
\r