Add IntelFsp2Pkg and IntelFsp2WrapperPkg.
authorJiewen Yao <jiewen.yao@intel.com>
Fri, 13 May 2016 05:00:53 +0000 (13:00 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Fri, 13 May 2016 05:00:53 +0000 (13:00 +0800)
commitcf1d454983fb4fd3b580a92bd242310467a5eaef
treec289db5c4533b6f6d824f2aad6f9fc1e00648bf6
parentc9802c45647d84e71b4620fdfff0c4bd88cf5acb
Add IntelFsp2Pkg and IntelFsp2WrapperPkg.

Add FSP2.0 support.
This series of patch is to support FSP2.0 specification at
https://firmware.intel.com/sites/default/files/FSP_EAS_v2.0_Draft%20External.pdf

Some major updates include:
1) One FSP binary is separated to multiple components:
FSP-T, FSP-M, FSP-S, and optional FSP-O.
Each component has its own configuration data region.
2) All FSP-APIs use same UPD format - FSP_UPD_HEADER.
3) Add EnumInitPhaseEndOfFirmware notifyphase.
4) FSP1.1/FSP1.0 compatibility is NOT maintained.
5) We also add rename Fsp* to FspWrapper* in IntelFsp2WrapperPkg,
to indicate that it is for FspWrapper only.

IntelFspPkg and IntelFspWrapperPkg will be deprecated.
The new Intel platform will follow FSP2.0 and use IntelFsp2Pkg
and IntelFsp2WrapperPkg.
The old platform can still use IntelFspPkg and IntelFspWrapperPkg
for compatibility consideration.

Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Ravi P Rangarajan <ravi.p.rangarajan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Ravi P Rangarajan <ravi.p.rangarajan@intel.com>
118 files changed:
IntelFsp2Pkg/Contributions.txt [new file with mode: 0644]
IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.c [new file with mode: 0644]
IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.h [new file with mode: 0644]
IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.inf [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryCommon.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryT.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/FspHelper.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/InitializeFpu.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/MicrocodeLoadNasm.inc [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/SaveRestoreSseNasm.inc [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Ia32/Stack.nasm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/SecFsp.c [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/SecFsp.h [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/SecFspApiChk.c [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/SecMain.c [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/SecMain.h [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Vtf0/Bin/ResetVec.ia32.raw [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Vtf0/Build.py [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Vtf0/Ia16/ResetVec.asm16 [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Vtf0/ResetVectorCode.asm [new file with mode: 0644]
IntelFsp2Pkg/FspSecCore/Vtf0/Tools/FixupForRawSection.py [new file with mode: 0644]
IntelFsp2Pkg/Include/FspDataTable.h [new file with mode: 0644]
IntelFsp2Pkg/Include/FspEas.h [new file with mode: 0644]
IntelFsp2Pkg/Include/FspEas/FspApi.h [new file with mode: 0644]
IntelFsp2Pkg/Include/FspGlobalData.h [new file with mode: 0644]
IntelFsp2Pkg/Include/FspMeasurePointId.h [new file with mode: 0644]
IntelFsp2Pkg/Include/FspStatusCode.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Guid/FspHeaderFile.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Guid/GuidHobFspEas.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/CacheAsRamLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/CacheLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/DebugDeviceLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/FspCommonLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/FspPlatformLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/FspSecPlatformLib.h [new file with mode: 0644]
IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h [new file with mode: 0644]
IntelFsp2Pkg/IntelFsp2Pkg.dec [new file with mode: 0644]
IntelFsp2Pkg/IntelFsp2Pkg.dsc [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/DisableCacheAsRamNull.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseCacheLib/CacheLibInternal.h [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/Ia32/FspDebug.asm [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/Ia32/FspDebug.s [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspPlatformLib/FspPlatformMemory.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspPlatformLib/FspPlatformNotify.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspSwitchStackLib/FspSwitchStackLib.c [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspSwitchStackLib/Ia32/Stack.asm [new file with mode: 0644]
IntelFsp2Pkg/Library/BaseFspSwitchStackLib/Ia32/Stack.s [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.asm [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.s [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/SecCarInit.asm [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/SecCarInit.s [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/PlatformSecLibNull.c [new file with mode: 0644]
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf [new file with mode: 0644]
IntelFsp2Pkg/Tools/GenCfgOpt.py [new file with mode: 0644]
IntelFsp2Pkg/Tools/PatchFv.py [new file with mode: 0644]
IntelFsp2Pkg/Tools/SplitFspBin.py [new file with mode: 0644]
IntelFsp2Pkg/Tools/UserManuals/GenCfgOptUserManual.docx [new file with mode: 0644]
IntelFsp2Pkg/Tools/UserManuals/PatchFvUserManual.docx [new file with mode: 0644]
IntelFsp2WrapperPkg/Contributions.txt [new file with mode: 0644]
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c [new file with mode: 0644]
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c [new file with mode: 0644]
IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c [new file with mode: 0644]
IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c [new file with mode: 0644]
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Library/FspWrapperApiTestLib.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Library/FspWrapperHobProcessLib.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Ppi/FspSiliconInitDone.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Include/Ppi/TopOfTemporaryRam.h [new file with mode: 0644]
IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec [new file with mode: 0644]
IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperApiLib.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecute.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.S [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.asm [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/FspWrapperApiTestNull.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/FspWrapperApiTest.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/FspWrapperPlatformSecLibSample.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Fsp.h [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/PeiCoreEntry.S [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/PeiCoreEntry.asm [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.S [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.asm [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.S [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.asm [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/PlatformInit.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecGetPerformance.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecPlatformInformation.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c [new file with mode: 0644]
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecTempRamDone.c [new file with mode: 0644]