]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h
IntelFsp2WrapperPkg: Add header for PlatformMultiPhaseLib.
[mirror_edk2.git] / IntelFsp2WrapperPkg / Include / Library / FspWrapperPlatformMultiPhaseLib.h
diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h
new file mode 100644 (file)
index 0000000..272b0e3
--- /dev/null
@@ -0,0 +1,30 @@
+/** @file\r
+  Provide FSP wrapper Platform MultiPhase handling functions.\r
+\r
+  Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_\r
+#define FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_\r
+\r
+/**\r
+  FSP Wrapper Platform MultiPhase Handler\r
+\r
+  @param[in] FspHobListPtr        - Pointer to FSP HobList (valid after FSP-M completed)\r
+  @param[in] ComponentIndex       - FSP Component which executing MultiPhase initialization.\r
+  @param[in] PhaseIndex           - Indicates current execution phase of FSP MultiPhase initialization.\r
+\r
+  @retval EFI_STATUS        Always return EFI_SUCCESS\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+FspWrapperPlatformMultiPhaseHandler (\r
+  IN OUT VOID  **FspHobListPtr,\r
+  IN UINT8     ComponentIndex,\r
+  IN UINT32    PhaseIndex\r
+  );\r
+\r
+#endif //FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_\r