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