git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6129
6f19259b-4bc3-4df7-8a09-
765794883524
/**@file\r
Recovery Library. This library class defines a set of methods related do recovery.\r
\r
/**@file\r
Recovery Library. This library class defines a set of methods related do recovery.\r
\r
-Copyright (c) 2006 - 2007 Intel Corporation\r
+Copyright (c) 2006 - 2008 Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
- return PeiRecovery->LoadRecoveryCapsule (GetPeiServicesTablePointer(), PeiRecovery);\r
+ return PeiRecovery->LoadRecoveryCapsule ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer(), PeiRecovery);\r
/** @file\r
Report Status Code Library for PEI Phase.\r
\r
/** @file\r
Report Status Code Library for PEI Phase.\r
\r
- Copyright (c) 2006, Intel Corporation<BR>\r
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
CONST EFI_PEI_SERVICES **PeiServices;\r
EFI_STATUS Status;\r
\r
CONST EFI_PEI_SERVICES **PeiServices;\r
EFI_STATUS Status;\r
\r
- PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();\r
+ PeiServices = GetPeiServicesTablePointer ();\r
Status = (*PeiServices)->ReportStatusCode (\r
PeiServices,\r
Type,\r
Status = (*PeiServices)->ReportStatusCode (\r
PeiServices,\r
Type,\r
/**@file\r
S3 Library. This library class defines a set of methods related do S3 mode\r
\r
/**@file\r
S3 Library. This library class defines a set of methods related do S3 mode\r
\r
-Copyright (c) 2006 - 2007 Intel Corporation\r
+Copyright (c) 2006 - 2008 Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
- return S3Resume->S3RestoreConfig (GetPeiServicesTablePointer()); \r
+ return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer()); \r
EFI_STATUS\r
EFIAPI\r
FindVariable (\r
EFI_STATUS\r
EFIAPI\r
FindVariable (\r
- IN EFI_PEI_SERVICES **PeiServices,\r
+ IN EFI_PEI_SERVICES **PeiServices,\r
IN CONST CHAR16 *VariableName,\r
IN CONST EFI_GUID *VendorGuid,\r
OUT VARIABLE_POINTER_TRACK *PtrTrack\r
IN CONST CHAR16 *VariableName,\r
IN CONST EFI_GUID *VendorGuid,\r
OUT VARIABLE_POINTER_TRACK *PtrTrack\r
\r
{\r
return PeiGetVariable (\r
\r
{\r
return PeiGetVariable (\r
- GetPeiServicesTablePointer (),\r
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),\r
(CHAR16*)VariableName,\r
(EFI_GUID*)VariableGuid,\r
Attributes,\r
(CHAR16*)VariableName,\r
(EFI_GUID*)VariableGuid,\r
Attributes,\r
\r
{\r
return PeiGetNextVariableName (\r
\r
{\r
return PeiGetNextVariableName (\r
- GetPeiServicesTablePointer (),\r
+ (EFI_PEI_SERVICES **) GetPeiServicesTablePointer (),\r
VariableNameSize,\r
VariableName,\r
VariableGuid\r
VariableNameSize,\r
VariableName,\r
VariableGuid\r