]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Library/PeiServicesTablePointerLib.h
Add new GetFileBufferByFilePath API into DxeServicesLib.
[mirror_edk2.git] / MdePkg / Include / Library / PeiServicesTablePointerLib.h
... / ...
CommitLineData
1/** @file\r
2 Provides a service to retrieve a pointer to the PEI Services Table.\r
3\r
4Copyright (c) 2006 - 2008, Intel Corporation\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT 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
30CONST EFI_PEI_SERVICES **\r
31EFIAPI\r
32GetPeiServicesTablePointer (\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
47VOID\r
48EFIAPI\r
49SetPeiServicesTablePointer (\r
50 IN CONST EFI_PEI_SERVICES ** PeiServicesTablePointer\r
51 );\r
52\r
53#endif\r
54\r