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
This commit is contained in:
qwang12 2008-10-17 08:53:52 +00:00
parent 1abe8b5108
commit 79ec0fac43
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ PeiGetVariable (
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
return ReadOnlyVariable->PeiGetVariable ( return ReadOnlyVariable->PeiGetVariable (
GetPeiServicesTablePointer (), (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
(CHAR16 *)VariableName, (CHAR16 *)VariableName,
(EFI_GUID *)VariableGuid, (EFI_GUID *)VariableGuid,
Attributes, Attributes,
@ -207,7 +207,7 @@ PeiGetNextVariableName (
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
return ReadOnlyVariable->PeiGetNextVariableName ( return ReadOnlyVariable->PeiGetNextVariableName (
GetPeiServicesTablePointer (), (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
VariableNameSize, VariableNameSize,
VariableName, VariableName,
VariableGuid VariableGuid