From 5240b97c9c9e76994e86db11ff7cf140a74f2bd0 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 17 Oct 2008 08:41:06 +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@6126 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MdePkg/Library/PeiServicesTablePointerLib') diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c index b601545b8c..fd5bbe7192 100644 --- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c +++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c @@ -4,7 +4,7 @@ This library is used for PEIM which does executed from flash device directly but executed in memory. - Copyright (c) 2006, 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 @@ -44,13 +44,13 @@ SetPeiServicesTablePointer ( @retval The pointer to PeiServices. **/ -EFI_PEI_SERVICES ** +CONST EFI_PEI_SERVICES ** GetPeiServicesTablePointer ( VOID ) { ASSERT (gPeiServices != NULL); - return gPeiServices; + return (CONST EFI_PEI_SERVICES **) gPeiServices; } -- cgit v1.2.3