]>
Commit | Line | Data |
---|---|---|
fb3df220 | 1 | /** @file\r |
2 | PEI Services Table Pointer Library services\r | |
3 | \r | |
5240b97c | 4 | Copyright (c) 2006 - 2008, Intel Corporation\r |
fb3df220 | 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 | |
5240b97c | 27 | CONST EFI_PEI_SERVICES **\r |
fb3df220 | 28 | EFIAPI\r |
29 | GetPeiServicesTablePointer (\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 | 39 | VOID\r |
40 | EFIAPI\r | |
41 | SetPeiServicesTablePointer (\r | |
a86fda43 | 42 | IN CONST EFI_PEI_SERVICES ** PeiServicesTablePointer\r |
b0d803fe | 43 | );\r |
44 | \r | |
fb3df220 | 45 | #endif\r |
46 | \r |