From 507b36ca9e70189579385431190d887f802f511a Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 4 Sep 2007 06:09:28 +0000 Subject: First round of PI enabling work: 1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc) 2) Make use of FirmwareVolume 2 protocol. 3) Verified for LakeportX64Pkg (S3) and Nt32Pkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3769 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c') diff --git a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c index cb77d5fe0d..2d08ccdeb4 100644 --- a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c +++ b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c @@ -64,9 +64,9 @@ InternalReportStatusCode ( IN EFI_STATUS_CODE_DATA *Data OPTIONAL ) { - EFI_PEI_SERVICES **PeiServices; + CONST EFI_PEI_SERVICES **PeiServices; - PeiServices = GetPeiServicesTablePointer (); + PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer (); return (*PeiServices)->ReportStatusCode ( PeiServices, Type, -- cgit v1.2.3