summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 10:19:26 +0000
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 10:19:26 +0000
commit1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9 (patch)
treee40e89e49e41170067e81dca942e3791cada70ba /IntelFrameworkPkg
parentbab0c17ae98fa6bf9658e9c565fa242e03a2fab7 (diff)
downloadedk2-platforms-1db0e83a243195efe2dd4cb0ebc0cedb4fbb4de9.tar.xz
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
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h b/IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h
index 30015604af..077293749d 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;