2 Provides a service to retrieve a pointer to the PEI Services Table.
4 Copyright (c) 2006 - 2008, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __PEI_SERVICES_TABLE_POINTER_LIB_H__
16 #define __PEI_SERVICES_TABLE_POINTER_LIB_H__
19 Retrieves the cached value of the PEI Services Table pointer.
21 Returns the cached value of the PEI Services Table pointer in a CPU specific manner
22 as specified in the CPU binding section of the Platform Initialization Pre-EFI
23 Initialization Core Interface Specification.
25 If the cached PEI Services Table pointer is NULL, then ASSERT().
27 @return The pointer to PeiServices.
30 CONST EFI_PEI_SERVICES
**
32 GetPeiServicesTablePointer (
37 Caches a pointer PEI Services Table.
39 Caches the pointer to the PEI Services Table specified by PeiServicesTablePointer
40 in a CPU specific manner as specified in the CPU binding section of the Platform Initialization
41 Pre-EFI Initialization Core Interface Specification.
43 If PeiServicesTablePointer is NULL, then ASSERT().
45 @param PeiServicesTablePointer The address of PeiServices pointer.
49 SetPeiServicesTablePointer (
50 IN CONST EFI_PEI_SERVICES
** PeiServicesTablePointer