]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/x64/PeiServicePointer.c
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / x64 / PeiServicePointer.c
1 /*++
2
3 Copyright 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12
13 Module Name:
14
15 PeiServicePointer.c
16
17 Abstract:
18
19 --*/
20
21 #include "Tiano.h"
22 #include "PeiApi.h"
23
24
25 #if (PI_SPECIFICATION_VERSION >= 0x00010000)
26
27 VOID
28 SetPeiServicesTablePointer (
29 IN EFI_PEI_SERVICES **PeiServices
30 )
31 /*++
32
33 Routine Description:
34
35 Save PeiService pointer so that it can be retrieved anywhere.
36
37 Arguments:
38
39 PeiServices - The direct pointer to PeiServiceTable.
40 PhyscialAddress - The physcial address of variable PeiServices.
41
42 Returns:
43 NONE
44
45 --*/
46 {
47 return;
48 }
49
50 EFI_PEI_SERVICES **
51 GetPeiServicesTablePointer (
52 VOID
53 )
54 /*++
55
56 Routine Description:
57
58 Get PeiService pointer.
59
60 Arguments:
61
62 NONE.
63
64 Returns:
65 The direct pointer to PeiServiceTable.
66
67 --*/
68 {
69 return NULL;
70 }
71
72
73 VOID
74 MigrateIdtTable (
75 IN EFI_PEI_SERVICES **PeiServices
76 )
77 /*++
78
79 Routine Description:
80
81 Migrate IDT from CAR to real memory where preceded with 4 bytes for
82 storing PeiService pointer.
83
84 Arguments:
85
86 PeiServices - The direct pointer to PeiServiceTable.
87
88 Returns:
89
90 NONE.
91
92 --*/
93 {
94 return;
95 }
96
97 #endif
98