]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/Include/Library/FspWrapperApiTestLib.h
IntelFsp2WrapperPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / IntelFsp2WrapperPkg / Include / Library / FspWrapperApiTestLib.h
1 /** @file
2 Provide FSP wrapper API test related function.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __FSP_WRAPPER_API_TEST_LIB_H__
10 #define __FSP_WRAPPER_API_TEST_LIB_H__
11
12 #include <PiPei.h>
13
14 /**
15 Test the output of FSP API - FspMemoryInit.
16
17 @param[in] FspmUpdDataPtr Address pointer to the FSP_MEMORY_INIT_PARAMS structure.
18 @param[in] HobListPtr Address of the HobList pointer.
19
20 @return test result on output of FspMemoryInit API.
21 **/
22 EFI_STATUS
23 EFIAPI
24 TestFspMemoryInitApiOutput (
25 IN VOID *FspmUpdDataPtr,
26 IN VOID **HobListPtr
27 );
28
29 /**
30 Test the output of FSP API - TempRamExit.
31
32 @param[in] TempRamExitParam Address pointer to the TempRamExit parameters structure.
33
34 @return test result on output of TempRamExit API.
35 **/
36 EFI_STATUS
37 EFIAPI
38 TestFspTempRamExitApiOutput (
39 IN VOID *TempRamExitParam
40 );
41
42 /**
43 Test the output of FSP API - FspSiliconInit.
44
45 @param[in] FspsUpdDataPtr Address pointer to the Silicon Init parameters structure.
46
47 @return test result on output of FspSiliconInit API.
48 **/
49 EFI_STATUS
50 EFIAPI
51 TestFspSiliconInitApiOutput (
52 IN VOID *FspsUpdDataPtr
53 );
54
55 #endif