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