FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf\r
FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf\r
FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf\r
- FspWrapperPlatformMultiPhaseLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibSample/BaseFspWrapperPlatformMultiPhaseLibSample.inf\r
+ FspWrapperPlatformMultiPhaseLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibNull/BaseFspWrapperPlatformMultiPhaseLibNull.inf\r
FspWrapperMultiPhaseProcessLib|IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/FspWrapperMultiPhaseProcessLib.inf\r
\r
# FSP platform sample\r
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf\r
IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf\r
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf\r
- IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibSample/BaseFspWrapperPlatformMultiPhaseLibSample.inf\r
+ IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformMultiPhaseLibNull/BaseFspWrapperPlatformMultiPhaseLibNull.inf\r
IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/FspWrapperMultiPhaseProcessLib.inf\r
\r
[PcdsFixedAtBuild.common]\r
--- /dev/null
+## @file\r
+# FSP Wrapper to handle platform specific actions for\r
+# FSP MultiPhase (SeparatePhase) Initialization.\r
+#\r
+# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = BaseFspWrapperPlatformMultiPhaseLibNull\r
+ FILE_GUID = DB63E5AA-21C6-40BB-879A-CD1762C8427B\r
+ MODULE_TYPE = BASE\r
+ VERSION_STRING = 1.0\r
+ LIBRARY_CLASS = FspWrapperPlatformMultiPhaseLib\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64\r
+#\r
+\r
+[Sources]\r
+ FspWrapperPlatformMultiPhaseLibNull.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ IntelFsp2Pkg/IntelFsp2Pkg.dec\r
+ IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec\r
+\r
+[LibraryClasses]\r
+ DebugLib\r
+ BaseLib\r
+ PcdLib\r
+ PeiServicesLib\r
--- /dev/null
+/** @file\r
+ FSP Wrapper to handle platform specific actions for\r
+ FSP MultiPhase (SeparatePhase) Initialization.\r
+\r
+ Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <Library/BaseLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/PcdLib.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
+ /* Example platform actions as below\r
+ switch (ComponentIndex) {\r
+ case FspMultiPhaseMemInitApiIndex:\r
+ switch (PhaseIndex) {\r
+ case 1:\r
+ PlatformAction1 ();\r
+ break;\r
+ }\r
+ break;\r
+ case FspMultiPhaseSiInitApiIndex:\r
+ switch (PhaseIndex) {\r
+ case 1:\r
+ PlatformAction2 ();\r
+ break;\r
+ }\r
+ break;\r
+ }\r
+ */\r
+}\r
+++ /dev/null
-## @file\r
-# FSP Wrapper to handle platform specific actions for\r
-# FSP MultiPhase (SeparatePhase) Initialization.\r
-#\r
-# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
-#\r
-# SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-##\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = BaseFspWrapperPlatformMultiPhaseLibSample\r
- FILE_GUID = DB63E5AA-21C6-40BB-879A-CD1762C8427B\r
- MODULE_TYPE = BASE\r
- VERSION_STRING = 1.0\r
- LIBRARY_CLASS = FspWrapperPlatformMultiPhaseLib\r
-\r
-#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64\r
-#\r
-\r
-[Sources]\r
- FspWrapperPlatformMultiPhaseLibSample.c\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
- IntelFsp2Pkg/IntelFsp2Pkg.dec\r
- IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec\r
-\r
-[LibraryClasses]\r
- DebugLib\r
- BaseLib\r
- PcdLib\r
- PeiServicesLib\r
+++ /dev/null
-/** @file\r
- FSP Wrapper to handle platform specific actions for\r
- FSP MultiPhase (SeparatePhase) Initialization.\r
-\r
- Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
- SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include <Library/BaseLib.h>\r
-#include <Library/DebugLib.h>\r
-#include <Library/PcdLib.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
- /* Example platform actions as below\r
- switch (ComponentIndex) {\r
- case FspMultiPhaseMemInitApiIndex:\r
- switch (PhaseIndex) {\r
- case 1:\r
- PlatformAction1 ();\r
- break;\r
- }\r
- break;\r
- case FspMultiPhaseSiInitApiIndex:\r
- switch (PhaseIndex) {\r
- case 1:\r
- PlatformAction2 ();\r
- break;\r
- }\r
- break;\r
- }\r
- */\r
-}\r