summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-17 08:44:25 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-17 08:44:25 +0000
commit1b641bb8eedacb9ad0b4a89d4b275db9488553f1 (patch)
tree2c0edd315e66c693d8fa8c0f0a0aed72c8c4bb9b /IntelFrameworkModulePkg/Library
parent0c39efcc51ee1f8cc1cde8fa531751525f9a060a (diff)
downloadedk2-1b641bb8eedacb9ad0b4a89d4b275db9488553f1.zip
edk2-1b641bb8eedacb9ad0b4a89d4b275db9488553f1.tar.gz
edk2-1b641bb8eedacb9ad0b4a89d4b275db9488553f1.tar.bz2
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
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
-rw-r--r--IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c4
-rw-r--r--IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c4
-rw-r--r--IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c
index ab33955..74491b4 100644
--- a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c
+++ b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c
@@ -1,7 +1,7 @@
/**@file
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
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
@@ -41,6 +41,6 @@ PeiRecoverFirmware (
);
ASSERT_EFI_ERROR (Status);
- return PeiRecovery->LoadRecoveryCapsule (GetPeiServicesTablePointer(), PeiRecovery);
+ return PeiRecovery->LoadRecoveryCapsule ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer(), PeiRecovery);
}
diff --git a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c
index 44f733e..f67adf9 100644
--- a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c
+++ b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c
@@ -1,7 +1,7 @@
/** @file
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
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
@@ -68,7 +68,7 @@ InternalReportStatusCode (
CONST EFI_PEI_SERVICES **PeiServices;
EFI_STATUS Status;
- PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();
+ PeiServices = GetPeiServicesTablePointer ();
Status = (*PeiServices)->ReportStatusCode (
PeiServices,
Type,
diff --git a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c
index 44a870a6..1d7907e 100644
--- a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c
+++ b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c
@@ -1,7 +1,7 @@
/**@file
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
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
@@ -41,6 +41,6 @@ AcpiS3ResumeOs (
);
ASSERT_EFI_ERROR (Status);
- return S3Resume->S3RestoreConfig (GetPeiServicesTablePointer());
+ return S3Resume->S3RestoreConfig ((EFI_PEI_SERVICES **) GetPeiServicesTablePointer());
}