]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/PeiServicesTablePointerLib.h
follow up code review
[mirror_edk2.git] / MdePkg / Include / Library / PeiServicesTablePointerLib.h
CommitLineData
fb3df220 1/** @file\r
2 PEI Services Table Pointer Library services\r
3\r
4 Copyright (c) 2006, Intel Corporation\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
fb3df220 13**/\r
14\r
15#ifndef __PEI_SERVICES_TABLE_POINTER_LIB_H__\r
16#define __PEI_SERVICES_TABLE_POINTER_LIB_H__\r
17\r
18/**\r
19 The function returns the pointer to PEI services.\r
20\r
21 The function returns the pointer to PEI services.\r
22 It will ASSERT() if the pointer to PEI services is NULL.\r
23\r
24 @retval The pointer to PeiServices.\r
25\r
26**/\r
27EFI_PEI_SERVICES **\r
28EFIAPI\r
29GetPeiServicesTablePointer (\r
30 VOID\r
31 );\r
32\r
81c7803c 33/**\r
34 The function set the pointer of PEI services immediately preceding the IDT table\r
35 according to PI specification.\r
36 \r
01aef47b 37 @param PeiServicesTablePointer The address of PeiServices pointer.\r
81c7803c 38**/\r
b0d803fe 39VOID\r
40EFIAPI\r
41SetPeiServicesTablePointer (\r
f944ec32 42 IN EFI_PEI_SERVICES ** PeiServicesTablePointer\r
b0d803fe 43 );\r
44\r
fb3df220 45#endif\r
46\r