• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   Provide FSP wrapper API test related function.
3 
4   Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5   This program and the accompanying materials
6   are licensed and made available under the terms and conditions of the BSD License
7   which accompanies this distribution.  The full text of the license may be found at
8   http://opensource.org/licenses/bsd-license.php.
9 
10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 
13 **/
14 
15 #ifndef __FSP_WRAPPER_API_TEST_LIB_H__
16 #define __FSP_WRAPPER_API_TEST_LIB_H__
17 
18 #include <PiPei.h>
19 
20 /**
21   Test the output of FSP API - FspMemoryInit.
22 
23   @param[in]  FspmUpdDataPtr Address pointer to the FSP_MEMORY_INIT_PARAMS structure.
24   @param[in]  HobListPtr     Address of the HobList pointer.
25 
26   @return test result on output of FspMemoryInit API.
27 **/
28 EFI_STATUS
29 EFIAPI
30 TestFspMemoryInitApiOutput (
31   IN  VOID        *FspmUpdDataPtr,
32   IN  VOID        **HobListPtr
33   );
34 
35 /**
36   Test the output of FSP API - TempRamExit.
37 
38   @param[in] TempRamExitParam    Address pointer to the TempRamExit parameters structure.
39 
40   @return test result on output of TempRamExit API.
41 **/
42 EFI_STATUS
43 EFIAPI
44 TestFspTempRamExitApiOutput (
45   IN VOID        *TempRamExitParam
46   );
47 
48 /**
49   Test the output of FSP API - FspSiliconInit.
50 
51   @param[in] FspsUpdDataPtr Address pointer to the Silicon Init parameters structure.
52 
53   @return test result on output of FspSiliconInit API.
54 **/
55 EFI_STATUS
56 EFIAPI
57 TestFspSiliconInitApiOutput (
58   IN  VOID        *FspsUpdDataPtr
59   );
60 
61 #endif
62