mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
0c39efcc51
commit
1b641bb8ee
|
@ -1,7 +1,7 @@
|
||||||
/**@file
|
/**@file
|
||||||
Recovery Library. This library class defines a set of methods related do recovery.
|
Recovery Library. This library class defines a set of methods related do recovery.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2007 Intel Corporation
|
Copyright (c) 2006 - 2008 Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -41,6 +41,6 @@ PeiRecoverFirmware (
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
return PeiRecovery->LoadRecoveryCapsule (GetPeiServicesTablePointer(), PeiRecovery);
|
return PeiRecovery->LoadRecoveryCapsule ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer(), PeiRecovery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Report Status Code Library for PEI Phase.
|
Report Status Code Library for PEI Phase.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -68,7 +68,7 @@ InternalReportStatusCode (
|
||||||
CONST EFI_PEI_SERVICES **PeiServices;
|
CONST EFI_PEI_SERVICES **PeiServices;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();
|
PeiServices = GetPeiServicesTablePointer ();
|
||||||
Status = (*PeiServices)->ReportStatusCode (
|
Status = (*PeiServices)->ReportStatusCode (
|
||||||
PeiServices,
|
PeiServices,
|
||||||
Type,
|
Type,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**@file
|
/**@file
|
||||||
S3 Library. This library class defines a set of methods related do S3 mode
|
S3 Library. This library class defines a set of methods related do S3 mode
|
||||||
|
|
||||||
Copyright (c) 2006 - 2007 Intel Corporation
|
Copyright (c) 2006 - 2008 Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -41,6 +41,6 @@ AcpiS3ResumeOs (
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
return S3Resume->S3RestoreConfig (GetPeiServicesTablePointer());
|
return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -355,7 +355,7 @@ STATIC
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
FindVariable (
|
FindVariable (
|
||||||
IN EFI_PEI_SERVICES **PeiServices,
|
IN EFI_PEI_SERVICES **PeiServices,
|
||||||
IN CONST CHAR16 *VariableName,
|
IN CONST CHAR16 *VariableName,
|
||||||
IN CONST EFI_GUID *VendorGuid,
|
IN CONST EFI_GUID *VendorGuid,
|
||||||
OUT VARIABLE_POINTER_TRACK *PtrTrack
|
OUT VARIABLE_POINTER_TRACK *PtrTrack
|
||||||
|
@ -581,7 +581,7 @@ PeiGetVariable2 (
|
||||||
|
|
||||||
{
|
{
|
||||||
return PeiGetVariable (
|
return PeiGetVariable (
|
||||||
GetPeiServicesTablePointer (),
|
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
|
||||||
(CHAR16*)VariableName,
|
(CHAR16*)VariableName,
|
||||||
(EFI_GUID*)VariableGuid,
|
(EFI_GUID*)VariableGuid,
|
||||||
Attributes,
|
Attributes,
|
||||||
|
@ -703,7 +703,7 @@ PeiGetNextVariableName2 (
|
||||||
|
|
||||||
{
|
{
|
||||||
return PeiGetNextVariableName (
|
return PeiGetNextVariableName (
|
||||||
GetPeiServicesTablePointer (),
|
(EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),
|
||||||
VariableNameSize,
|
VariableNameSize,
|
||||||
VariableName,
|
VariableName,
|
||||||
VariableGuid
|
VariableGuid
|
||||||
|
|
Loading…
Reference in New Issue