]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFspPkg/Include/Library/FspPlatformLib.h
855017880b775d3edceae04cef67fe7587b92907
[mirror_edk2.git] / IntelFspPkg / Include / Library / FspPlatformLib.h
1 /** @file
2
3 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
4 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
14 #ifndef _FSP_PLATFORM_LIB_H_
15 #define _FSP_PLATFORM_LIB_H_
16
17 /**
18 Get system memory from HOB.
19
20 @param[in,out] LowMemoryLength less than 4G memory length
21 @param[in,out] HighMemoryLength greater than 4G memory length
22 **/
23 VOID
24 EFIAPI
25 FspGetSystemMemorySize (
26 IN OUT UINT64 *LowMemoryLength,
27 IN OUT UINT64 *HighMemoryLength
28 );
29
30 /**
31 Migrate bootloader data before destroying CAR.
32
33 **/
34 VOID
35 EFIAPI
36 FspMigrateTemporaryMemory (
37 VOID
38 );
39
40 /**
41 This function transfer control to the ContinuationFunc passed in by the
42 bootloader.
43
44 **/
45 VOID
46 EFIAPI
47 FspInitDone (
48 VOID
49 );
50
51 /**
52 This function handle NotifyPhase API call from the bootloader.
53 It gives control back to the bootloader after it is handled. If the
54 Notification code is a ReadyToBoot event, this function will return
55 and FSP continues the remaining execution until it reaches the DxeIpl.
56
57 **/
58 VOID
59 EFIAPI
60 FspWaitForNotify (
61 VOID
62 );
63
64 #endif