]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Dec 2006 05:16:05 +0000 (05:16 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Dec 2006 05:16:05 +0000 (05:16 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2144 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/EdkModulePkg.spd
EdkModulePkg/Include/EdkDxe.h
EdkModulePkg/Include/EdkPeim.h
EdkModulePkg/Include/Guid/GenericPlatformVariable.h [new file with mode: 0644]

index db8be51a649315be6e5227d65678d831e02b32ca..2dee05c2b7c5ccccfab146a5f7dd17442eaf5900 100644 (file)
@@ -7,11 +7,11 @@
     <Abstract>Edk Module Package Reference Implementations</Abstract>\r
     <Description>This Module provides standard reference information for EFI/Tiano implementations.</Description>\r
     <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>\r
-    <License>All rights reserved.\r
-      This program and the accompanying materials are licensed and made available \r
-      under the terms and conditions of the BSD License which accompanies this distribution.\r
-      The full text of the license may be found at http://opensource.org/licenses/bsd-license.php\r
-      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES\r
+    <License>All rights reserved.
+      This program and the accompanying materials are licensed and made available 
+      under the terms and conditions of the BSD License which accompanies this distribution.
+      The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
+      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
       OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
     <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>\r
   </SpdHeader>\r
     <Entry Name="GenericPlatformTokenSpace">\r
       <C_Name>gEfiGenericPlatformTokenSpaceGuid</C_Name>\r
       <GuidValue>18D15EA6-9E14-40a1-B39C-59C44DA9D891</GuidValue>\r
-      <HelpText>This is the token space GUID for platform generic PCD definitions.\r
+      <HelpText>This is the token space GUID for platform generic PCD definitions.
         Now FlashLayout and Platform CPU belong to this space.</HelpText>\r
     </Entry>\r
     <Entry Name="EdkModulePkgTokenSpace">\r
       <GuidValue>060CC026-4C0D-4DDA-8F41-595FEF00A502</GuidValue>\r
       <HelpText/>\r
     </Entry>\r
+    <Entry Name="GenericPlatformVariable" GuidTypeList="EFI_VARIABLE">\r
+      <C_Name>gEfiGenericPlatformVariableGuid</C_Name>\r
+      <GuidValue>59d1c24f-50f1-401a-b101-f33e0daed443</GuidValue>\r
+      <HelpText>The variable space Guid to pair with a Unicode string name to tag an EFI variable</HelpText>\r
+    </Entry>\r
   </GuidDeclarations>\r
   <ProtocolDeclarations>\r
     <Entry Name="Capsule">\r
       <DatumType>UINT32</DatumType>\r
       <ValidUsage>FIXED_AT_BUILD</ValidUsage>\r
       <DefaultValue>0x08</DefaultValue>\r
-      <HelpText>The maximum number of callback function, which will be triggered when \r
+      <HelpText>The maximum number of callback function, which will be triggered when 
         a PCD entry is been set, can be registered for a single PCD entry in PEI phase.</HelpText>\r
     </PcdEntry>\r
     <PcdEntry>\r
       <DatumType>UINT32</DatumType>\r
       <ValidUsage>FIXED_AT_BUILD</ValidUsage>\r
       <DefaultValue>0x0</DefaultValue>\r
-      <HelpText>The base address of the VPD (Vital Product Data) region. It is \r
+      <HelpText>The base address of the VPD (Vital Product Data) region. It is 
         normally a region reserved on flash.</HelpText>\r
     </PcdEntry>\r
     <PcdEntry>\r
       <DatumType>BOOLEAN</DatumType>\r
       <ValidUsage>FEATURE_FLAG</ValidUsage>\r
       <DefaultValue>TRUE</DefaultValue>\r
-      <HelpText>This feature flag can be used to enable or disable the Pcd PEIM database \r
+      <HelpText>This feature flag can be used to enable or disable the Pcd PEIM database 
         traverse capability. Disable it can reduce the size of final image generated.</HelpText>\r
     </PcdEntry>\r
     <PcdEntry>\r
       <DatumType>BOOLEAN</DatumType>\r
       <ValidUsage>FEATURE_FLAG</ValidUsage>\r
       <DefaultValue>TRUE</DefaultValue>\r
-      <HelpText>This feature flag can be used to enable or disable the Pcd DXE database \r
+      <HelpText>This feature flag can be used to enable or disable the Pcd DXE database 
         traverse capability. Disable it can reduce the size of final image generated.</HelpText>\r
     </PcdEntry>\r
     <PcdEntry>\r
index 2162937c6513a997f43bc5e2dd80e672cd653199..7b5469b855763fdeac685a22faa2249ad8959049 100644 (file)
@@ -58,6 +58,7 @@ Abstract:
 #include <Guid/CapsuleVendor.h>\r
 #include <Guid/CompatibleMemoryTested.h>\r
 #include <Guid/MemoryStatusCodeRecord.h>\r
+#include <Guid/GenericPlatformVariable.h>\r
 \r
 #include <Ppi/StatusCodeMemory.h>\r
 \r
index a39ed5cdb4b1cdcb6d78cdd48946043517957bc2..e76d83df851f34e47bb7e40a12d555bf7bd74dfd 100644 (file)
@@ -47,6 +47,7 @@ Abstract:
 #include <Guid/CapsuleVendor.h>\r
 #include <Guid/BootState.h>\r
 #include <Guid/MemoryStatusCodeRecord.h>\r
+#include <Guid/GenericPlatformVariable.h>\r
 \r
 #include <Ppi/PeiInMemory.h>\r
 #include <Ppi/FlashMap.h>\r
diff --git a/EdkModulePkg/Include/Guid/GenericPlatformVariable.h b/EdkModulePkg/Include/Guid/GenericPlatformVariable.h
new file mode 100644 (file)
index 0000000..00ae375
--- /dev/null
@@ -0,0 +1,27 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation                                                         \r
+All rights reserved. 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
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+  \r
+  GenericPlatformVariable.h\r
+    \r
+Abstract:\r
+\r
+  The variable space Guid to pair with a Unicode string name to tag an EFI variable.\r
+\r
+--*/\r
+\r
+#ifndef _GENERIC_PLATFORM_VARIABLE_H_\r
+#define _GENERIC_PLATFORM_VARIABLE_H_\r
+\r
+extern EFI_GUID gEfiGenericPlatformVariableGuid;\r
+\r
+#endif\r