]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/PeiServicesTablePointerLib.h
Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg...
[mirror_edk2.git] / MdePkg / Include / Library / PeiServicesTablePointerLib.h
1 /** @file
2 Provides a service to retrieve a pointer to the PEI Services Table.
3
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
9
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.
12
13 **/
14
15 #ifndef __PEI_SERVICES_TABLE_POINTER_LIB_H__
16 #define __PEI_SERVICES_TABLE_POINTER_LIB_H__
17
18 /**
19 The function returns the pointer to PEI services.
20
21 The function returns the pointer to PEI services.
22 It will ASSERT() if the pointer to PEI services is NULL.
23
24 @retval The pointer to PeiServices.
25
26 **/
27 CONST EFI_PEI_SERVICES **
28 EFIAPI
29 GetPeiServicesTablePointer (
30 VOID
31 );
32
33 /**
34 The function set the pointer of PEI services immediately preceding the IDT table
35 according to PI specification.
36
37 @param PeiServicesTablePointer The address of PeiServices pointer.
38 **/
39 VOID
40 EFIAPI
41 SetPeiServicesTablePointer (
42 IN CONST EFI_PEI_SERVICES ** PeiServicesTablePointer
43 );
44
45 #endif
46