]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Provides a service to retrieve a pointer to the PEI Services Table.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r | |
5 | 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 | |
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 | Retrieves the cached value of the PEI Services Table pointer.\r | |
20 | \r | |
21 | Returns the cached value of the PEI Services Table pointer in a CPU specific manner \r | |
22 | as specified in the CPU binding section of the Platform Initialization Pre-EFI \r | |
23 | Initialization Core Interface Specification.\r | |
24 | \r | |
25 | If the cached PEI Services Table pointer is NULL, then ASSERT().\r | |
26 | \r | |
27 | @return The pointer to PeiServices.\r | |
28 | \r | |
29 | **/\r | |
30 | CONST EFI_PEI_SERVICES **\r | |
31 | EFIAPI\r | |
32 | GetPeiServicesTablePointer (\r | |
33 | VOID\r | |
34 | );\r | |
35 | \r | |
36 | /**\r | |
37 | Caches a pointer PEI Services Table. \r | |
38 | \r | |
39 | Caches the pointer to the PEI Services Table specified by PeiServicesTablePointer \r | |
40 | in a CPU specific manner as specified in the CPU binding section of the Platform Initialization \r | |
41 | Pre-EFI Initialization Core Interface Specification. \r | |
42 | \r | |
43 | If PeiServicesTablePointer is NULL, then ASSERT().\r | |
44 | \r | |
45 | @param PeiServicesTablePointer The address of PeiServices pointer.\r | |
46 | **/\r | |
47 | VOID\r | |
48 | EFIAPI\r | |
49 | SetPeiServicesTablePointer (\r | |
50 | IN CONST EFI_PEI_SERVICES ** PeiServicesTablePointer\r | |
51 | );\r | |
52 | \r | |
53 | #endif\r | |
54 | \r |