]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFspPkg/Include/Library/FspPlatformLib.h
Update IntelFspPkg according to FSP1.1.
[mirror_edk2.git] / IntelFspPkg / Include / Library / FspPlatformLib.h
CommitLineData
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
23VOID\r
24EFIAPI\r
25FspGetSystemMemorySize (\r
26 IN OUT UINT64 *LowMemoryLength,\r
27 IN OUT UINT64 *HighMemoryLength\r
28 );\r
29\r
30/**\r
31 Migrate bootloader data before destroying CAR.\r
32\r
33**/\r
34VOID\r
35EFIAPI\r
36FspMigrateTemporaryMemory (\r
37 VOID\r
38 );\r
39\r
d5fb1edf
JY
40/**\r
41 Set a new stack frame for the continuation function\r
42\r
43**/\r
44VOID\r
45EFIAPI\r
46FspSetNewStackFrame (\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
52 bootloader.\r
53\r
54**/\r
55VOID\r
56EFIAPI\r
57FspInitDone (\r
58 VOID\r
59 );\r
60\r
61/**\r
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
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
68VOID\r
69EFIAPI\r
70FspWaitForNotify (\r
71 VOID\r
72 );\r
73\r
74#endif\r