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