Gary Lin
b9ca25cb68
IntelFspWrapperPkg: Fix typos in comments
...
- inforamtion -> information
- tempory -> temporary
- boundry -> boundary
- immediatly -> immediately
- permenent -> permanent
Cc: Jiewen Yao <jiewen.yao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com >
2016-10-24 09:26:30 +08:00
Hao Wu
4accc1f0f7
IntelFspWrapperPkg DSC: Add build option to disable deprecated APIs
...
Add the following definition in the [BuildOptions] section in package DSC
files to disable APIs that are deprecated:
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
Cc: Jiewen Yao <jiewen.yao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
2016-08-08 11:00:06 +08:00
Jiewen Yao
136c648f59
IntelFspWrapperPkg: Add missing License.txt.
...
Add missing License.txt.
Cc: Giri P Mudusuru <giri.p.mudusuru@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 >
2016-07-26 10:52:06 +08:00
Laszlo Ersek
7b3d87aca2
IntelFspWrapperPkg: PeiFspHobProcessLibSample: remove set but unused variables
...
Cc: Jiewen Yao <jiewen.yao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
2016-03-25 10:52:21 +01:00
Hao Wu
61f816bd75
IntelFspWrapperPkg: Add NOOPT target in IntelFspWrapperPkg.dsc
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19703 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-21 02:15:02 +00:00
Yao, Jiewen
3b567f08f9
Fix >4G issue on IDT not restored correctly.
...
Idtr might be changed inside of FSP. 32bit FSP only knows the <4G address.
If IDTR.Base is >4G, FSP can not handle. So we need save/restore IDTR here.
Interrupt is already disabled here, so it is safety to update IDTR.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com >
Reviewed-by: "Yarlagadda, Satya P" <satya.p.yarlagadda@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19246 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-15 04:27:00 +00:00
Yao, Jiewen
5b5e5674ae
Publish FspHob to PEI Hob by default.
...
because most platforms use such logic.
PcdDataBaseHobGuid GuidHob is excluded because PCD database in FSP is different with the one in PEI.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18687 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-27 23:10:49 +00:00
Yao, Jiewen
03195ad324
Fix issue that calling GetS3MemoryInfo() with wrong order.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18679 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-27 04:15:39 +00:00
Yao, Jiewen
e620b72924
Do not deadloop if Microcode not found in FspTempRamInit.
...
We do not consider microcode not found as critical error, because Microcode might be applied later.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18678 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-27 04:00:08 +00:00
Yao, Jiewen
00899456b8
FspNotifyDxe need handle >4G memory.
...
The FSP API is always 32bit, but FspNotifyDxe might load to >4G memory. In order to make thunk work, we need reload FspNotifyDxe to <4G memory.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com >
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18094 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-28 07:26:57 +00:00
Yao, Jiewen
dd4e2bcfaa
FspInitPei function calling parameters not matching with the function definition.
...
IntelFspWrapperPkg, In the file FspInitPeiV1.c and FspInitPeiV2.c, there are function calling:
GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);
But the function GetStackInfo() defined as EFI_STATUS EFIAPI GetStackInfo (
IN UINT32 BootMode,
IN BOOLEAN FspInitDone,
OUT UINT64 *StackSize,
OUT EFI_PHYSICAL_ADDRESS *StackBase
)
It should be GetStackInfo (BootMode, FALSE, &StackSize, &StackBase);
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17850 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-07 05:47:08 +00:00
Liming Gao
3f05834bae
IntelFspWrapperPkg: Update PeiFspHobProcessLibSample to consume PI CapsulePpi
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17376 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-08 07:44:30 +00:00
Ma, Maurice
5c7c41f81d
Add dual FSP binaries support.
...
There are two FSP images at different locations in a flash (one factory version is read only and other in updatable version)
TempRamInit, FspMemoryInit and TempRamExit are executed from factory version and FspSiliconInit/NotifyPhase will be executed from updatable version.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Yao, Jiewen" <Jiewen.Yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17249 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-29 03:50:20 +00:00
Yao, Jiewen
88a539ca5f
IntelFspWrapperPkg update for FSP1.1
...
-- Add BootLoaderTolumSize support
-- Fix LibraryClasses declaration in DEC file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17197 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-23 08:53:39 +00:00
Yao, Jiewen
6ca9135a65
Fix comments format error.Fsp1.1 update.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16843 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-12 15:13:37 +00:00
Yao, Jiewen
95c95ac0ef
Fsp1.1 update.
...
Update ApiEntry.asm to use MACRO instead of direct XMM access.
Add sanity parameter check for FSP API.
Add sanity return code check for internal API.
Call LoadUcode before CarInit to meet silicon requirement.
Remove unnecessary VpdBase for PatchTable.
Add ASSERT for NULL check FSP1.1 entrypoint.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16834 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-12 07:02:43 +00:00
Yao, Jiewen
d8043ce905
Update IntelFspWrapperPkg according to FSP1.1.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16826 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-11 04:41:46 +00:00
Jordan Justen
3f3c4895da
*/Contributions.txt: Update example email address
...
Use the example.com domain as recommended in RFC 2606.
NOTE: This does not modify the wording of the "TianoCore Contribution
Agreement 1.0" section
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Bruce Cran <bruce.cran@gmail.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16724 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-03 17:29:14 +00:00
Jordan Justen
252b22d965
IntelFsp*Pkg: Add Contributions.txt
...
This was copied from MdePkg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16721 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-03 17:28:46 +00:00
Shumin Qiu
b0446065db
IntelFspWrapperPkg: Refine the format of meta data files.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16623 6f19259b-4bc3-4df7-8a09-765794883524
2015-01-19 07:45:25 +00:00
Yao, Jiewen
8e89d9ceeb
Fix typo.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com >
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com >
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com >
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16475 6f19259b-4bc3-4df7-8a09-765794883524
2014-12-04 06:03:58 +00:00
Star Zeng
b5fd61fe8c
IntelFspPkg/IntelFspWrapperPkg: Fix some typos.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16040 6f19259b-4bc3-4df7-8a09-765794883524
2014-09-03 06:48:38 +00:00
jyao1
954894f270
Rollback file GUID change, because it is VTF file and GUID is predefined.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed by: Chris Li <chris.li@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15775 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-08 02:15:41 +00:00
jyao1
a81fcd30c1
Eliminate duplicated file GUID.
...
Eliminate duplicate GUID definition.
Do explicit data cast.
Use StrnCpy instead of StrCpy.
Update GCC assembly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed by: Eric Dong <eric.dong@intel.com >
Reviewed by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15762 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-06 13:27:14 +00:00
jyao1
4a00645100
Clean up code.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15744 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-04 08:24:27 +00:00
jyao1
a0e0fb6d9f
Clean up code.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15743 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-04 06:34:41 +00:00
jyao1
a33a2f6221
Add IntelFspWrapper to support boot EDKII on FSP bin.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed by: Ravi Rangarajan <ravi.p.rangarajan@intel.com >
Reviewed by: Maurice Ma <maurice.ma@intel.com >
Reviewed by: Giri Mudusuru <giri.p.mudusuru@intel.com >
Reviewed by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15676 6f19259b-4bc3-4df7-8a09-765794883524
2014-07-24 06:52:43 +00:00