diff options
author | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 10:19:26 +0000 |
---|---|---|
committer | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 10:19:26 +0000 |
commit | 1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9 (patch) | |
tree | e40e89e49e41170067e81dca942e3791cada70ba | |
parent | bab0c17ae98fa6bf9658e9c565fa242e03a2fab7 (diff) | |
download | edk2-1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9.zip edk2-1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9.tar.gz edk2-1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9.tar.bz2 |
To keep the code not change as original for compatible purpose. GetNextVariable --> PeiGetVariable. SetVariable--> PeiSetVariable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8880 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h b/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h index 3001560..0772937 100644 --- a/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h +++ b/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h @@ -34,7 +34,12 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE_PPI EFI_PEI_READ_ONLY_VARIABLE_PPI; #define EFI_VARIABLE_NON_VOLATILE 0x00000001
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
-
+ ///
+ /// Inconsistent with specification here:
+ /// In Framework Spec, PeiCis0.91, there is no this field defined.
+ /// Keeping this inconsistance is for backward compatibility.
+ ///
+#define EFI_VARIABLE_READ_ONLY 0x00000008
/**
Get Variable value by Name and GUID pair
@@ -103,8 +108,13 @@ EFI_STATUS /// variable services.
///
struct _EFI_PEI_READ_ONLY_VARIABLE_PPI {
- EFI_PEI_GET_VARIABLE GetVariable; ///< A service to ascertain a given variable name.
- EFI_PEI_GET_NEXT_VARIABLE_NAME GetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable
+ ///
+ /// Inconsistent with specification here:
+ /// In Framework Spec, PeiCis0.91, the field is named as GetVariable and GetNextVariableName.
+ /// Keeping this inconsistance is for backward compatibility.
+ ///
+ EFI_PEI_GET_VARIABLE PeiGetVariable; ///< A service to ascertain a given variable name.
+ EFI_PEI_GET_NEXT_VARIABLE_NAME PeiGetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable
};
extern EFI_GUID gEfiPeiReadOnlyVariablePpiGuid;
|