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