summaryrefslogtreecommitdiff
path: root/IntelFsp2WrapperPkg/Include
diff options
context:
space:
mode:
authorChasel Chiu <chasel.chiu@intel.com>2022-10-04 13:10:14 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-05 04:13:53 +0000
commitf054beec548eb3cc718b35be20efa9d344fe7097 (patch)
tree629a461d1c10a76416963855db84f12c8ab26ead /IntelFsp2WrapperPkg/Include
parentf931506815548cee5a3929856bfc98266c39999c (diff)
downloadedk2-f054beec548eb3cc718b35be20efa9d344fe7097.zip
edk2-f054beec548eb3cc718b35be20efa9d344fe7097.tar.gz
edk2-f054beec548eb3cc718b35be20efa9d344fe7097.tar.bz2
IntelFsp2WrapperPkg: Add header for PlatformMultiPhaseLib.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4092 To comply with coding style rule each library class should have its own header even if it is just a private child library instance consumed by parent public library in the same package. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'IntelFsp2WrapperPkg/Include')
-rw-r--r--IntelFsp2WrapperPkg/Include/Library/FspWrapperMultiPhaseProcessLib.h18
-rw-r--r--IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h30
2 files changed, 30 insertions, 18 deletions
diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperMultiPhaseProcessLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperMultiPhaseProcessLib.h
index 65a5db2..aadacc9 100644
--- a/IntelFsp2WrapperPkg/Include/Library/FspWrapperMultiPhaseProcessLib.h
+++ b/IntelFsp2WrapperPkg/Include/Library/FspWrapperMultiPhaseProcessLib.h
@@ -10,24 +10,6 @@
#define __FSP_WRAPPER_MULTI_PHASE_PROCESS_LIB_H__
/**
- FSP Wrapper Platform MultiPhase Handler
-
- @param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
- @param[in] ComponentIndex - FSP Component which executing MultiPhase initialization.
- @param[in] PhaseIndex - Indicates current execution phase of FSP MultiPhase initialization.
-
- @retval EFI_STATUS Always return EFI_SUCCESS
-
-**/
-VOID
-EFIAPI
-FspWrapperPlatformMultiPhaseHandler (
- IN OUT VOID **FspHobListPtr,
- IN UINT8 ComponentIndex,
- IN UINT32 PhaseIndex
- );
-
-/**
FSP Wrapper Variable Request Handler
@param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h
new file mode 100644
index 0000000..272b0e3
--- /dev/null
+++ b/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformMultiPhaseLib.h
@@ -0,0 +1,30 @@
+/** @file
+ Provide FSP wrapper Platform MultiPhase handling functions.
+
+ Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_
+#define FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_
+
+/**
+ FSP Wrapper Platform MultiPhase Handler
+
+ @param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
+ @param[in] ComponentIndex - FSP Component which executing MultiPhase initialization.
+ @param[in] PhaseIndex - Indicates current execution phase of FSP MultiPhase initialization.
+
+ @retval EFI_STATUS Always return EFI_SUCCESS
+
+**/
+VOID
+EFIAPI
+FspWrapperPlatformMultiPhaseHandler (
+ IN OUT VOID **FspHobListPtr,
+ IN UINT8 ComponentIndex,
+ IN UINT32 PhaseIndex
+ );
+
+#endif //FSP_WRAPPER_PLATFORM_MULTI_PHASE_LIB_H_