/** @file\r
Private functions used by PCD DXE driver.\r
\r
-Copyright (c) 2006 - 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2010, 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
http://opensource.org/licenses/bsd-license.php\r
#include <PiDxe.h>\r
#include <Guid/PcdDataBaseHobGuid.h>\r
#include <Protocol/Pcd.h>\r
+#include <Protocol/PiPcd.h>\r
#include <Library/BaseLib.h>\r
#include <Library/DebugLib.h>\r
#include <Library/UefiLib.h>\r
@param[in] Guid The 128-bit unique value that designates the namespace from which to retrieve the next token. \r
This is an optional parameter that may be NULL. If this parameter is NULL, then a request is \r
being made to retrieve tokens from the default token space.\r
- @param[in,out] TokenNumber \r
+ @param[in, out] TokenNumber \r
A pointer to the PCD token number to use to find the subsequent token number. \r
\r
@retval EFI_SUCCESS The PCD service retrieved the next valid token number. Or the input token number \r
/**\r
Get next token space in PCD database according to given token space guid.\r
\r
- This routine is enable only when feature flag PCD PcdDxePcdDatabaseTraverseEnabled \r
- is TRUE.\r
- \r
@param Guid Given token space guid. If NULL, then Guid will be set to \r
the first PCD token space in PCD database, If not NULL, then\r
Guid will be set to next PCD token space.\r
\r
- @retval EFI_UNSUPPORTED If feature flag PCD PcdDxePcdDatabaseTraverseEnabled is FALSE.\r
@retval EFI_NOT_FOUND If PCD database has no token space table or can not find given\r
token space in PCD database.\r
@retval EFI_SUCCESS Success to get next token space guid.\r
\r
@retval EFI_INVALID_PARAMETER If this PCD type is VPD, VPD PCD can not be set.\r
@retval EFI_INVALID_PARAMETER If Size can not be set to size table.\r
+ @retval EFI_INVALID_PARAMETER If Size of non-Ptr type PCD does not match the size information in PCD database. \r
@retval EFI_NOT_FOUND If value type of PCD entry is intergrate, but not in\r
range of UINT8, UINT16, UINT32, UINT64\r
@retval EFI_NOT_FOUND Can not find the PCD type according to token number. \r