]> git.proxmox.com Git - mirror_edk2.git/commitdiff
To keep the code not change as original for compatible purpose. GetNextVariable ...
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 10:19:26 +0000 (10:19 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 10:19:26 +0000 (10:19 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8880 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h

index 30015604af78028631e921105b15391a641b0084..077293749df113463e5c93d6efa28e465e69bcfa 100644 (file)
@@ -34,7 +34,12 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE_PPI  EFI_PEI_READ_ONLY_VARIABLE_PPI;
 #define EFI_VARIABLE_NON_VOLATILE       0x00000001\r
 #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
 #define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
-\r
+       ///\r
+  /// Inconsistent with specification here: \r
+  /// In Framework Spec, PeiCis0.91, there is no this field defined.\r
+  /// Keeping this inconsistance is for backward compatibility.\r
+       /// \r
+#define EFI_VARIABLE_READ_ONLY          0x00000008\r
 \r
 /**\r
   Get Variable value by Name and GUID pair\r
@@ -103,8 +108,13 @@ EFI_STATUS
 /// variable services.  \r
 ///\r
 struct _EFI_PEI_READ_ONLY_VARIABLE_PPI {\r
-  EFI_PEI_GET_VARIABLE            GetVariable;         ///< A service to ascertain a given variable name.\r
-  EFI_PEI_GET_NEXT_VARIABLE_NAME  GetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable\r
+       ///\r
+  /// Inconsistent with specification here: \r
+  /// In Framework Spec, PeiCis0.91, the field is named as GetVariable and GetNextVariableName.\r
+  /// Keeping this inconsistance is for backward compatibility.\r
+       /// \r
+  EFI_PEI_GET_VARIABLE            PeiGetVariable;         ///< A service to ascertain a given variable name.\r
+  EFI_PEI_GET_NEXT_VARIABLE_NAME  PeiGetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable\r
 };\r
 \r
 extern EFI_GUID gEfiPeiReadOnlyVariablePpiGuid;\r