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