From 79ec0fac431b00cbe82f9c1274b1449edb4bba84 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 17 Oct 2008 08:53:52 +0000 Subject: [PATCH] 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 --- .../ReadOnlyVariable2ToReadOnlyVariableThunk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c b/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c index 7e2ca126d1..56b801227a 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