From 1b641bb8eedacb9ad0b4a89d4b275db9488553f1 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 17 Oct 2008 08:44:25 +0000 Subject: 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@6129 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Universal/VariablePei/Variable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal') diff --git a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c index 746e16979d..7d9eaf199d 100644 --- a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c +++ b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c @@ -355,7 +355,7 @@ STATIC EFI_STATUS EFIAPI FindVariable ( - IN EFI_PEI_SERVICES **PeiServices, + IN EFI_PEI_SERVICES **PeiServices, IN CONST CHAR16 *VariableName, IN CONST EFI_GUID *VendorGuid, OUT VARIABLE_POINTER_TRACK *PtrTrack @@ -581,7 +581,7 @@ PeiGetVariable2 ( { return PeiGetVariable ( - GetPeiServicesTablePointer (), + (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (), (CHAR16*)VariableName, (EFI_GUID*)VariableGuid, Attributes, @@ -703,7 +703,7 @@ PeiGetNextVariableName2 ( { return PeiGetNextVariableName ( - GetPeiServicesTablePointer (), + (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (), VariableNameSize, VariableName, VariableGuid -- cgit v1.2.3