summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-17 08:53:52 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-17 08:53:52 +0000
commit79ec0fac431b00cbe82f9c1274b1449edb4bba84 (patch)
tree371b243412faedf755724584eb5d5518c87cec79 /EdkCompatibilityPkg
parent1abe8b51082d8712f37d2e1156acf2278e05663e (diff)
downloadedk2-79ec0fac431b00cbe82f9c1274b1449edb4bba84.zip
edk2-79ec0fac431b00cbe82f9c1274b1449edb4bba84.tar.gz
edk2-79ec0fac431b00cbe82f9c1274b1449edb4bba84.tar.bz2
Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6131 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c b/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c
index 7e2ca12..56b8012 100644
--- a/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c
@@ -162,7 +162,7 @@ PeiGetVariable (
ASSERT_EFI_ERROR (Status);
return ReadOnlyVariable->PeiGetVariable (
- GetPeiServicesTablePointer (),
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
(CHAR16 *)VariableName,
(EFI_GUID *)VariableGuid,
Attributes,
@@ -207,7 +207,7 @@ PeiGetNextVariableName (
ASSERT_EFI_ERROR (Status);
return ReadOnlyVariable->PeiGetNextVariableName (
- GetPeiServicesTablePointer (),
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
VariableNameSize,
VariableName,
VariableGuid