]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/PCD/Dxe/Service.h
MdePkg and MdeModulePkg Pcd: Implement PCD Driver for External PCD Database and SKU...
[mirror_edk2.git] / MdeModulePkg / Universal / PCD / Dxe / Service.h
index 0dd4df6bb2c54476066fbed8b3ff84efdcf16f0a..292a74cfb5a036dae04d0421c7397a5dfcddcd52 100644 (file)
@@ -1,8 +1,8 @@
 /** @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 - 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
 http://opensource.org/licenses/bsd-license.php\r
@@ -17,7 +17,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <PiDxe.h>\r
 #include <Guid/PcdDataBaseHobGuid.h>\r
+#include <Guid/PcdDataBaseSignatureGuid.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
@@ -29,6 +31,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 \r
+//\r
+// Please make sure the PCD Serivce DXE Version is consistent with\r
+// the version of the generated DXE PCD Database by build tool.\r
+//\r
+#define PCD_SERVICE_DXE_VERSION      4\r
+\r
+//\r
+// PCD_DXE_SERVICE_DRIVER_VERSION is defined in Autogen.h.\r
+//\r
+#if (PCD_SERVICE_DXE_VERSION != PCD_DXE_SERVICE_DRIVER_VERSION)\r
+  #error "Please make sure the version of PCD DXE Service and the generated PCD DXE Database match."\r
+#endif\r
+\r
 //\r
 // Protocol Interface function declaration.\r
 //\r
@@ -680,18 +695,28 @@ DxeUnRegisterCallBackOnSet (
   );\r
 \r
 /**\r
-  Retrieves the next valid PCD token for a given namespace.\r
-\r
-  @param[in]      Guid          The 128-bit unique value that designates the namespace from which to extract the value.\r
-  @param[in, out]  TokenNumber   A pointer to the PCD token number to use to find the subsequent token number.  \r
-                                If the input token namespace or token number does not exist on the platform, \r
-                                an error is returned and the value of *TokenNumber is undefined. To retrieve the "first" token, \r
-                                have the pointer reference a TokenNumber value of 0. If the input token number is 0 and \r
-                                there is no valid token number for this token namespace,  *TokenNumber will be assigned to \r
-                                0 and the function return EFI_SUCCESS. If the token number is the last valid token number, \r
-                                *TokenNumber will be assigned to 0 and the function return EFI_SUCCESS.\r
-\r
-  @retval EFI_SUCCESS  The PCD service retrieved the next valid token number. Or the input token number \r
+  Retrieves the next valid token number in a given namespace.  \r
+  \r
+  This is useful since the PCD infrastructure contains a sparse list of token numbers, \r
+  and one cannot a priori know what token numbers are valid in the database. \r
+  \r
+  If TokenNumber is 0 and Guid is not NULL, then the first token from the token space specified by Guid is returned.  \r
+  If TokenNumber is not 0 and Guid is not NULL, then the next token in the token space specified by Guid is returned.  \r
+  If TokenNumber is 0 and Guid is NULL, then the first token in the default token space is returned.  \r
+  If TokenNumber is not 0 and Guid is NULL, then the next token in the default token space is returned.  \r
+  The token numbers in the default token space may not be related to token numbers in token spaces that are named by Guid.  \r
+  If the next token number can be retrieved, then it is returned in TokenNumber, and EFI_SUCCESS is returned.  \r
+  If TokenNumber represents the last token number in the token space specified by Guid, then EFI_NOT_FOUND is returned.  \r
+  If TokenNumber is not present in the token space specified by Guid, then EFI_NOT_FOUND is returned.\r
+\r
+\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
+                          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
                         is already the last valid token number in the PCD database. \r
                         In the later case, *TokenNumber is updated with the value of 0.\r
   @retval EFI_NOT_FOUND If this input token number and token namespace does not exist on the platform.\r
@@ -707,14 +732,10 @@ DxePcdGetNextToken (
 /**\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
@@ -764,6 +785,7 @@ SetValueWorker (
 \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
@@ -974,16 +996,16 @@ BuildPcdDxeDataBase (
   );\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   Dynamic-ex PCD token number.\r
 \r
-  @return local token number for dynamic-ex PCD.\r
+  @return Token Number for dynamic-ex PCD.\r
 \r
 **/\r
 UINTN\r
@@ -1058,307 +1080,26 @@ SetPtrTypeSize (
   IN    OUT   UINTN             *CurrentSize\r
   );\r
 \r
-extern PCD_DATABASE * mPcdDatabase;\r
+extern  PCD_DATABASE   mPcdDatabase;\r
+\r
+extern  UINT32         mPcdTotalTokenCount; \r
+extern  UINT32         mPeiLocalTokenCount; \r
+extern  UINT32         mDxeLocalTokenCount; \r
+extern  UINT32         mPeiNexTokenCount;   \r
+extern  UINT32         mDxeNexTokenCount;  \r
+extern  UINT32         mPeiExMapppingTableSize;\r
+extern  UINT32         mDxeExMapppingTableSize;\r
+extern  UINT32         mPeiGuidTableSize;\r
+extern  UINT32         mDxeGuidTableSize;\r
+\r
+extern  BOOLEAN        mPeiExMapTableEmpty; \r
+extern  BOOLEAN        mDxeExMapTableEmpty; \r
+extern  BOOLEAN        mPeiDatabaseEmpty;\r
 \r
-extern DXE_PCD_DATABASE_INIT gDXEPcdDbInit;\r
+extern  EFI_GUID     **TmpTokenSpaceBuffer;\r
+extern  UINTN          TmpTokenSpaceBufferCount;\r
 \r
 extern EFI_LOCK mPcdDatabaseLock;\r
 \r
 #endif\r
 \r
-////////////////////////////////////////////////////////////////////////////////////////////////////\r
-///                                                                                              ///\r
-///  Following code is an example for auto-generated PCD database to hold all dynamic/dynamicex  ///\r
-///  PCD's value for one given platform. And following sample comes from autogen.h/autogen.c of  ///\r
-///  PCD Dxe driver for NT32 platform.                                                           ///\r
-///                                                                                              ///\r
-///  The PCD database is stored into a big structure - PCD_DATABASE which is consisted of        ///\r
-///  PEI PCD database structure and DXE PCD database structure.                                  ///\r
-///                                                                                              ///\r
-////////////////////////////////////////////////////////////////////////////////////////////////////\r
-\r
-// //\r
-// // Common definitions\r
-// //\r
-// typedef UINT8 SKU_ID;\r
-// \r
-// //\r
-// // A PCD offset value is consisted as follows:\r
-// // 32 ------------- 28 ---------- 24 -------- 0\r
-// //  | PCD type mask  | Datum Type  |  Offset  |\r
-// //  -------------------------------------------\r
-// \r
-// #define PCD_TYPE_SHIFT        28             // 28 ~ 32 bit hold PCD type information\r
-// \r
-// #define PCD_TYPE_DATA         (0x0 << PCD_TYPE_SHIFT)\r
-// #define PCD_TYPE_HII          (0x8 << PCD_TYPE_SHIFT)\r
-// #define PCD_TYPE_VPD          (0x4 << PCD_TYPE_SHIFT)\r
-// #define PCD_TYPE_SKU_ENABLED  (0x2 << PCD_TYPE_SHIFT)\r
-// #define PCD_TYPE_STRING       (0x1 << PCD_TYPE_SHIFT)\r
-// \r
-// #define PCD_TYPE_ALL_SET      (PCD_TYPE_DATA | PCD_TYPE_HII | PCD_TYPE_VPD | PCD_TYPE_SKU_ENABLED | PCD_TYPE_STRING)\r
-// \r
-// #define PCD_DATUM_TYPE_SHIFT  24             // 24 ~ 28 bit hold datum type information\r
-// \r
-// #define PCD_DATUM_TYPE_POINTER  (0x0 << PCD_DATUM_TYPE_SHIFT)\r
-// #define PCD_DATUM_TYPE_UINT8    (0x1 << PCD_DATUM_TYPE_SHIFT)\r
-// #define PCD_DATUM_TYPE_UINT16   (0x2 << PCD_DATUM_TYPE_SHIFT)\r
-// #define PCD_DATUM_TYPE_UINT32   (0x4 << PCD_DATUM_TYPE_SHIFT)\r
-// #define PCD_DATUM_TYPE_UINT64   (0x8 << PCD_DATUM_TYPE_SHIFT)\r
-// \r
-// #define PCD_DATUM_TYPE_ALL_SET  (PCD_DATUM_TYPE_POINTER | \\r
-//                                  PCD_DATUM_TYPE_UINT8   | \\r
-//                                  PCD_DATUM_TYPE_UINT16  | \\r
-//                                  PCD_DATUM_TYPE_UINT32  | \\r
-//                                  PCD_DATUM_TYPE_UINT64)\r
-// \r
-// #define PCD_DATABASE_OFFSET_MASK (~(PCD_TYPE_ALL_SET | PCD_DATUM_TYPE_ALL_SET))\r
-// \r
-// typedef struct  {\r
-//   UINT32  ExTokenNumber;\r
-//   UINT16  LocalTokenNumber;   // PCD Number of this particular platform build\r
-//   UINT16  ExGuidIndex;        // Index of GuidTable\r
-// } DYNAMICEX_MAPPING;\r
-// \r
-// typedef struct {\r
-//   UINT32  SkuDataStartOffset; //We have to use offsetof MACRO as we don't know padding done by compiler\r
-//   UINT32  SkuIdTableOffset;   //Offset from the PCD_DB\r
-// } SKU_HEAD;\r
-// \r
-// typedef struct {\r
-//   UINT16  GuidTableIndex;     // Offset in Guid Table in units of GUID.\r
-//   UINT16  StringIndex;        // Offset in String Table in units of UINT16.\r
-//   UINT16  Offset;             // Offset in Variable\r
-//   UINT16  DefaultValueOffset; // Offset of the Default Value\r
-// } VARIABLE_HEAD;\r
-// \r
-// typedef  struct {\r
-//   UINT32  Offset;\r
-// } VPD_HEAD;\r
-// \r
-// typedef UINT16 STRING_HEAD;\r
-// \r
-// typedef UINT16 SIZE_INFO;\r
-// \r
-// #define offsetof(s,m)  (UINT32) (UINTN) &(((s *)0)->m)\r
-// \r
-// \r
-// #define PEI_GUID_TABLE_SIZE                1\r
-// #define PEI_STRING_TABLE_SIZE              1\r
-// #define PEI_SKUID_TABLE_SIZE               1\r
-// #define PEI_LOCAL_TOKEN_NUMBER_TABLE_SIZE  3\r
-// #define PEI_LOCAL_TOKEN_NUMBER             3\r
-// #define PEI_EXMAPPING_TABLE_SIZE           1\r
-// #define PEI_EX_TOKEN_NUMBER                0\r
-// #define PEI_SIZE_TABLE_SIZE                2\r
-// #define PEI_GUID_TABLE_EMPTY               TRUE\r
-// #define PEI_STRING_TABLE_EMPTY             TRUE\r
-// #define PEI_SKUID_TABLE_EMPTY              TRUE\r
-// #define PEI_DATABASE_EMPTY                 FALSE\r
-// #define PEI_EXMAP_TABLE_EMPTY              TRUE\r
-// \r
-// //\r
-// // PEI database structure for dynamic/dynamicex PCD which has default value.\r
-// //\r
-// typedef struct {\r
-// \r
-// \r
-// \r
-// \r
-// \r
-//   DYNAMICEX_MAPPING  ExMapTable[PEI_EXMAPPING_TABLE_SIZE];                       // table for mapping dynamicex token number to local token number\r
-//   UINT32             LocalTokenNumberTable[PEI_LOCAL_TOKEN_NUMBER_TABLE_SIZE];   // table for local token number\r
-//   GUID               GuidTable[PEI_GUID_TABLE_SIZE];                             // table for token guid\r
-// \r
-// \r
-//   UINT16             StringTable[1]; /* _ */                                     // table for unicode string type PCD's value\r
-// \r
-//   SIZE_INFO          SizeTable[PEI_SIZE_TABLE_SIZE];                             // table for PCD size information\r
-// \r
-// \r
-// \r
-// \r
-// \r
-// \r
-//   UINT8              SkuIdTable[PEI_SKUID_TABLE_SIZE];                           // table for SKU IDs \r
-//   SKU_ID             SystemSkuId;                                                // system SKU ID\r
-// } PEI_PCD_DATABASE_INIT;\r
-// \r
-// //\r
-// // PEI database structure for dynamic/dynamicex PCD which has no default value.\r
-// //\r
-// typedef struct {\r
-// \r
-// \r
-//   UINT32   PcdFlashNvStorageVariableBase_a1aff049_fdeb_442a_b320_13ab4cb72bbc[1];        // PCD entry for PcdFlashNvStorageVariableBase\r
-//   UINT32   PcdFlashNvStorageFtwSpareBase_a1aff049_fdeb_442a_b320_13ab4cb72bbc[1];        // PCD entry for PcdFlashNvStorageFtwSpareBase\r
-//   UINT32   PcdFlashNvStorageFtwWorkingBase_a1aff049_fdeb_442a_b320_13ab4cb72bbc[1];      // PCD entry for PcdFlashNvStorageFtwWorkingBase\r
-// \r
-// \r
-// \r
-// \r
-// } PEI_PCD_DATABASE_UNINIT;\r
-// \r
-// #define PCD_PEI_SERVICE_DRIVER_VERSION         2\r
-// \r
-// typedef struct {\r
-//   PEI_PCD_DATABASE_INIT    Init;\r
-//   PEI_PCD_DATABASE_UNINIT  Uninit;\r
-// } PEI_PCD_DATABASE;\r
-// \r
-// #define PEI_NEX_TOKEN_NUMBER (PEI_LOCAL_TOKEN_NUMBER - PEI_EX_TOKEN_NUMBER)\r
-// \r
-// #define DXE_GUID_TABLE_SIZE                1\r
-// #define DXE_STRING_TABLE_SIZE              212\r
-// #define DXE_SKUID_TABLE_SIZE               1\r
-// #define DXE_LOCAL_TOKEN_NUMBER_TABLE_SIZE  9\r
-// #define DXE_LOCAL_TOKEN_NUMBER             9\r
-// #define DXE_EXMAPPING_TABLE_SIZE           1\r
-// #define DXE_EX_TOKEN_NUMBER                0\r
-// #define DXE_SIZE_TABLE_SIZE                16\r
-// #define DXE_GUID_TABLE_EMPTY               TRUE\r
-// #define DXE_STRING_TABLE_EMPTY             FALSE\r
-// #define DXE_SKUID_TABLE_EMPTY              TRUE\r
-// #define DXE_DATABASE_EMPTY                 FALSE\r
-// #define DXE_EXMAP_TABLE_EMPTY              TRUE\r
-// \r
-// typedef struct {\r
-// \r
-// \r
-// \r
-// \r
-// \r
-//   DYNAMICEX_MAPPING  ExMapTable[DXE_EXMAPPING_TABLE_SIZE];\r
-//   UINT32             LocalTokenNumberTable[DXE_LOCAL_TOKEN_NUMBER_TABLE_SIZE];\r
-//   GUID               GuidTable[DXE_GUID_TABLE_SIZE];\r
-//   STRING_HEAD        PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-//   STRING_HEAD        PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4[1];\r
-// \r
-// \r
-//   UINT16             StringTable[6]; /* PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_1[26]; /* PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_2[10]; /* PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_3[13]; /* PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_4[26]; /* PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_5[51]; /* PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_6[54]; /* PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//   UINT16             StringTable_7[26]; /* PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-// \r
-//   SIZE_INFO          SizeTable[DXE_SIZE_TABLE_SIZE];\r
-//   UINT16             PcdPlatformBootTimeOutDefault_a1aff049_fdeb_442a_b320_13ab4cb72bbc[1];\r
-// \r
-// \r
-// \r
-// \r
-// \r
-// \r
-//   UINT8              SkuIdTable[DXE_SKUID_TABLE_SIZE];\r
-// \r
-// } DXE_PCD_DATABASE_INIT;\r
-// \r
-// typedef struct {\r
-//   UINT8  dummy; /* PCD_DATABASE_UNINIT is emptry */\r
-// \r
-// \r
-// \r
-// \r
-// \r
-// } DXE_PCD_DATABASE_UNINIT;\r
-// \r
-// #define PCD_DXE_SERVICE_DRIVER_VERSION         2\r
-// \r
-// typedef struct {\r
-//   DXE_PCD_DATABASE_INIT    Init;\r
-//   DXE_PCD_DATABASE_UNINIT  Uninit;\r
-// } DXE_PCD_DATABASE;\r
-// \r
-// #define DXE_NEX_TOKEN_NUMBER (DXE_LOCAL_TOKEN_NUMBER - DXE_EX_TOKEN_NUMBER)\r
-// \r
-// typedef struct {\r
-//   PEI_PCD_DATABASE PeiDb;\r
-//   DXE_PCD_DATABASE DxeDb;\r
-// } PCD_DATABASE;\r
-// \r
-// #define PCD_TOTAL_TOKEN_NUMBER (PEI_LOCAL_TOKEN_NUMBER + DXE_LOCAL_TOKEN_NUMBER)\r
-// \r
-// \r
-// DXE_PCD_DATABASE_INIT gDXEPcdDbInit = {\r
-// \r
-// \r
-// \r
-// \r
-//   /* VPD */\r
-// \r
-//   /* ExMapTable */\r
-//   {\r
-//     { 0, 0, 0 },\r
-// \r
-//   },\r
-//   /* LocalTokenNumberTable */\r
-//   {\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4) | PCD_DATUM_TYPE_POINTER | PCD_TYPE_STRING,\r
-//     offsetof(DXE_PCD_DATABASE, Init.PcdPlatformBootTimeOutDefault_a1aff049_fdeb_442a_b320_13ab4cb72bbc) | PCD_TYPE_DATA | PCD_DATUM_TYPE_UINT16,\r
-//\r
-//   },\r
-//   /* GuidTable */\r
-//   {\r
-//     {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},\r
-// \r
-//   },\r
-//  { 0 }, /* PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 6 }, /* PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 32 }, /* PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 42 }, /* PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 55 }, /* PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 81 }, /* PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 132 }, /* PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//  { 186 }, /* PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4[1] */\r
-//\r
-//\r
-// /* StringTable */\r
-//  L"64!64", /* PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"UGA Window 1!UGA Window 2", /* PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"COM1!COM2", /* PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"FW;40960;512", /* PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"UGA Window 1!UGA Window 2", /* PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512", /* PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L".!..\\..\\..\\..\\EdkShellBinPkg\\Bin\\Ia32\\Apps", /* PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//  L"Bus Driver Console Window", /* PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-\r
-//  /* SizeTable */\r
-//  {\r
-//    10, 10, /* PcdWinNtMemorySize_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    50, 50, /* PcdWinNtGop_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    18, 18, /* PcdWinNtSerialPort_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    24, 24, /* PcdWinNtVirtualDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    50, 50, /* PcdWinNtUga_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    100, 92, /* PcdWinNtPhysicalDisk_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    106, 98, /* PcdWinNtFileSystem_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//    50, 50, /* PcdWinNtConsole_0d79a645_1d91_40a6_a81f_61e6982b32b4 */\r
-//\r
-//  },\r
-//  { 10 }, /*  PcdPlatformBootTimeOutDefault_a1aff049_fdeb_442a_b320_13ab4cb72bbc[1] */\r
-//\r
-//\r
-//\r
-//\r
-//\r
-//\r
-//  /* SkuIdTable */\r
-//  { 0,  },\r
-//  \r
-//};\r
-\r