VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 2 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1/** @file
2 Provide FSP wrapper API related function.
3
4 Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __FSP_WRAPPER_API_LIB_H__
10#define __FSP_WRAPPER_API_LIB_H__
11
12#include <FspEas.h>
13
14/**
15 Find FSP header pointer.
16
17 @param[in] FlashFvFspBase Flash address of FSP FV.
18
19 @return FSP header pointer.
20**/
21FSP_INFO_HEADER *
22EFIAPI
23FspFindFspHeader (
24 IN EFI_PHYSICAL_ADDRESS FlashFvFspBase
25 );
26
27/**
28 Call FSP API - FspNotifyPhase.
29
30 @param[in] NotifyPhaseParams Address pointer to the NOTIFY_PHASE_PARAMS structure.
31
32 @return EFI status returned by FspNotifyPhase API.
33**/
34EFI_STATUS
35EFIAPI
36CallFspNotifyPhase (
37 IN NOTIFY_PHASE_PARAMS *NotifyPhaseParams
38 );
39
40/**
41 Call FSP API - FspMemoryInit.
42
43 @param[in] FspmUpdDataPtr Pointer to the FSPM_UPD data structure.
44 @param[out] HobListPtr Pointer to receive the address of the HOB list.
45
46 @return EFI status returned by FspMemoryInit API.
47**/
48EFI_STATUS
49EFIAPI
50CallFspMemoryInit (
51 IN VOID *FspmUpdDataPtr,
52 OUT VOID **HobListPtr
53 );
54
55/**
56 Call FSP API - TempRamExit.
57
58 @param[in] TempRamExitParam Address pointer to the TempRamExit parameters structure.
59
60 @return EFI status returned by TempRamExit API.
61**/
62EFI_STATUS
63EFIAPI
64CallTempRamExit (
65 IN VOID *TempRamExitParam
66 );
67
68/**
69 Call FSP API - FspSiliconInit.
70
71 @param[in] FspsUpdDataPtr Pointer to the FSPS_UPD data structure.
72
73 @return EFI status returned by FspSiliconInit API.
74**/
75EFI_STATUS
76EFIAPI
77CallFspSiliconInit (
78 IN VOID *FspsUpdDataPtr
79 );
80
81/**
82 Call FSP API - FspSmmInit.
83
84 @param[in] FspiUpdDataPtr Pointer to the FSPI_UPD data structure.
85
86 @return EFI status returned by FspSmmInit API.
87**/
88EFI_STATUS
89EFIAPI
90CallFspSmmInit (
91 IN VOID *FspiUpdDataPtr
92 );
93
94#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette