]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/FspWrapperApiTestNull.c
Add IntelFsp2Pkg and IntelFsp2WrapperPkg.
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / BaseFspWrapperApiTestLibNull / FspWrapperApiTestNull.c
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/FspWrapperApiTestNull.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/FspWrapperApiTestNull.c
new file mode 100644 (file)
index 0000000..6e40cd0
--- /dev/null
@@ -0,0 +1,65 @@
+/** @file\r
+  Provide FSP wrapper API test related function.\r
+\r
+  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#include <PiPei.h>\r
+\r
+/**\r
+  Test the output of FSP API - FspMemoryInit.\r
+\r
+  @param[in]  FspmUpdDataPtr Address pointer to the FSP_MEMORY_INIT_PARAMS structure.\r
+  @param[in]  HobListPtr     Address of the HobList pointer.\r
+\r
+  @return test result on output of FspMemoryInit API.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+TestFspMemoryInitApiOutput (\r
+  IN  VOID        *FspmUpdDataPtr,\r
+  IN  VOID        **HobListPtr\r
+  )\r
+{\r
+  return RETURN_UNSUPPORTED;\r
+}\r
+\r
+/**\r
+  Test the output of FSP API - TempRamExit.\r
+\r
+  @param[in] TempRamExitParam    Address pointer to the TempRamExit parameters structure.\r
+\r
+  @return test result on output of TempRamExit API.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+TestFspTempRamExitApiOutput (\r
+  IN VOID         *TempRamExitParam\r
+  )\r
+{\r
+  return RETURN_UNSUPPORTED;\r
+}\r
+\r
+/**\r
+  Test the output of FSP API - FspSiliconInit.\r
+\r
+  @param[in] FspsUpdDataPtr Address pointer to the Silicon Init parameters structure.\r
+\r
+  @return test result on output of FspSiliconInit API.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+TestFspSiliconInitApiOutput (\r
+  IN  VOID        *FspsUpdDataPtr\r
+  )\r
+{\r
+  return RETURN_UNSUPPORTED;\r
+}\r