]>
Commit | Line | Data |
---|---|---|
c8ec22a2 JY |
1 | /** @file\r |
2 | \r | |
d5fb1edf | 3 | Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r |
c8ec22a2 JY |
4 | This program and the accompanying materials\r |
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 | \r | |
14 | #ifndef _FSP_PLATFORM_LIB_H_\r | |
15 | #define _FSP_PLATFORM_LIB_H_\r | |
16 | \r | |
17 | /**\r | |
18 | Get system memory from HOB.\r | |
19 | \r | |
20 | @param[in,out] LowMemoryLength less than 4G memory length\r | |
21 | @param[in,out] HighMemoryLength greater than 4G memory length\r | |
22 | **/\r | |
23 | VOID\r | |
24 | EFIAPI\r | |
25 | FspGetSystemMemorySize (\r | |
26 | IN OUT UINT64 *LowMemoryLength,\r | |
27 | IN OUT UINT64 *HighMemoryLength\r | |
28 | );\r | |
29 | \r | |
30 | /**\r | |
9da59186 | 31 | Migrate BootLoader data before destroying CAR.\r |
c8ec22a2 JY |
32 | \r |
33 | **/\r | |
34 | VOID\r | |
35 | EFIAPI\r | |
36 | FspMigrateTemporaryMemory (\r | |
37 | VOID\r | |
38 | );\r | |
39 | \r | |
d5fb1edf | 40 | /**\r |
6ca9135a | 41 | Set a new stack frame for the continuation function.\r |
d5fb1edf JY |
42 | \r |
43 | **/\r | |
44 | VOID\r | |
45 | EFIAPI\r | |
46 | FspSetNewStackFrame (\r | |
47 | VOID\r | |
48 | );\r | |
49 | \r | |
c8ec22a2 JY |
50 | /**\r |
51 | This function transfer control to the ContinuationFunc passed in by the\r | |
9da59186 | 52 | BootLoader.\r |
c8ec22a2 JY |
53 | \r |
54 | **/\r | |
55 | VOID\r | |
56 | EFIAPI\r | |
57 | FspInitDone (\r | |
58 | VOID\r | |
59 | );\r | |
60 | \r | |
61 | /**\r | |
9da59186 JY |
62 | This function handle NotifyPhase API call from the BootLoader.\r |
63 | It gives control back to the BootLoader after it is handled. If the\r | |
c8ec22a2 JY |
64 | Notification code is a ReadyToBoot event, this function will return\r |
65 | and FSP continues the remaining execution until it reaches the DxeIpl.\r | |
66 | \r | |
67 | **/\r | |
68 | VOID\r | |
69 | EFIAPI\r | |
70 | FspWaitForNotify (\r | |
71 | VOID\r | |
72 | );\r | |
73 | \r | |
74 | #endif\r |