mirror_edk2.git
6 years agoAdd patch-able PCD to support binary modification of MRC module.
David Wei [Fri, 13 Feb 2015 02:13:43 +0000 (02:13 +0000)]
Add patch-able PCD to support binary modification of MRC module.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16847 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoRemove override to ConSplitter
David Wei [Fri, 13 Feb 2015 02:13:03 +0000 (02:13 +0000)]
Remove override to ConSplitter

Remove override to ConSplitter; Set console background to be black and front ground to be gray light.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16846 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoFix comments error.
Yao, Jiewen [Fri, 13 Feb 2015 01:20:35 +0000 (01:20 +0000)]
Fix comments error.

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>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16845 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoNetworkPkg: Code refine to avoid NULL pointer dereferenced.
Shumin Qiu [Fri, 13 Feb 2015 01:00:47 +0000 (01:00 +0000)]
NetworkPkg: Code refine to avoid NULL pointer dereferenced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16844 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoFix comments format error.Fsp1.1 update.
Yao, Jiewen [Thu, 12 Feb 2015 15:13:37 +0000 (15:13 +0000)]
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

6 years agoRemove invalid value sync action when changing value. Else later save change action...
Eric Dong [Thu, 12 Feb 2015 08:40:16 +0000 (08:40 +0000)]
Remove invalid value sync action when changing value. Else later save change action will fail.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-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@16839 6f19259b-4bc3-4df7-8a09-765794883524

6 years agorename XXXDflt to XXXDefault (expand for better readability)
Yao, Jiewen [Thu, 12 Feb 2015 07:37:30 +0000 (07:37 +0000)]
rename XXXDflt to XXXDefault (expand for better readability)

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@16835 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoFsp1.1 update.
Yao, Jiewen [Thu, 12 Feb 2015 07:02:43 +0000 (07:02 +0000)]
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

6 years agoDHCP6 bug fix:
Gary Lin [Wed, 11 Feb 2015 08:26:36 +0000 (08:26 +0000)]
DHCP6 bug fix:

DHCP6 won’t process more message if one message’s Xid is mismatched.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16832 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoBaseTools/GenFw: Set the PE/COFF attribute BaseOfData with the address of the first...
Erik Bjorge [Wed, 11 Feb 2015 08:20:17 +0000 (08:20 +0000)]
BaseTools/GenFw: Set the PE/COFF attribute BaseOfData with the address of the first '.data' section

Before this change the alignment of the first data section was not taken into account.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16831 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUpdate IntelFspWrapperPkg according to FSP1.1.
Yao, Jiewen [Wed, 11 Feb 2015 04:41:46 +0000 (04:41 +0000)]
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

6 years agoUpdate IntelFspPkg according to FSP1.1.
Yao, Jiewen [Wed, 11 Feb 2015 02:57:40 +0000 (02:57 +0000)]
Update IntelFspPkg according to FSP1.1.

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>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16825 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg: Update library class name of PlatformHookLibSerialPortPpi.inf
Shumin Qiu [Tue, 10 Feb 2015 07:33:19 +0000 (07:33 +0000)]
MdeModulePkg: Update library class name of PlatformHookLibSerialPortPpi.inf

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16822 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Add missing library classes in DEC declaration.
Shumin Qiu [Tue, 10 Feb 2015 07:31:34 +0000 (07:31 +0000)]
MdePkg: Add missing library classes in DEC declaration.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16821 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Fix WINDDK3790 build failure
Liming Gao [Tue, 10 Feb 2015 01:59:51 +0000 (01:59 +0000)]
MdePkg: Fix WINDDK3790 build failure

WINDDK3790 doesn't support __VA_ARGS__ macro.

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@16820 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAdd reference to SmmMemLib in platform code.
Shifei Lu [Mon, 9 Feb 2015 07:27:11 +0000 (07:27 +0000)]
Add reference to SmmMemLib in platform code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16818 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellpkg: Fix spelling errors in Shell.c/Shell.h comments
Joe Peterson [Fri, 6 Feb 2015 22:25:05 +0000 (22:25 +0000)]
Shellpkg: Fix spelling errors in Shell.c/Shell.h comments

This patch fixes spelling errors in comments. No functional change.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16816 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: command help with -? flag is not working and it gives too many arguments...
Jaben Carsey [Fri, 6 Feb 2015 21:03:28 +0000 (21:03 +0000)]
ShellPkg: command help with -? flag is not working and it gives too many arguments error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16815 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Correct Help of Error Level
Liming Gao [Fri, 6 Feb 2015 06:39:16 +0000 (06:39 +0000)]
MdePkg: Correct Help of Error Level

1. Error Level should be BIT31 instead of BIT28.
2. New PCD PcdFixedDebugPrintErrorLevel value should be mask value of all BITs so that it doesn't bring impact for current platform.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16799 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOvmfPkg: Update PlatformBaseDebugLibIoPort library
Liming Gao [Fri, 6 Feb 2015 06:38:37 +0000 (06:38 +0000)]
OvmfPkg: Update PlatformBaseDebugLibIoPort library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16797 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoIntelFspPkg: Update BaseFspDebugLibSerialPort library
Liming Gao [Fri, 6 Feb 2015 06:37:55 +0000 (06:37 +0000)]
IntelFspPkg: Update BaseFspDebugLibSerialPort library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

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@16795 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Update BaseDebugLibStdErr library
Liming Gao [Fri, 6 Feb 2015 06:37:10 +0000 (06:37 +0000)]
MdePkg: Update BaseDebugLibStdErr library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

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@16794 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Update BaseDebugLibConOut library
Liming Gao [Fri, 6 Feb 2015 06:36:27 +0000 (06:36 +0000)]
MdePkg: Update BaseDebugLibConOut library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

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@16792 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Update BaseDebugLibNull library
Liming Gao [Fri, 6 Feb 2015 06:35:42 +0000 (06:35 +0000)]
MdePkg: Update BaseDebugLibNull library

Implement new API DebugPrintLevelEnabled() to return FALSE.

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@16791 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Update BaseDebugLibSerialPort library
Liming Gao [Fri, 6 Feb 2015 06:34:56 +0000 (06:34 +0000)]
MdePkg: Update BaseDebugLibSerialPort library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

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@16790 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Add Help and Prompt for new PCD
Liming Gao [Fri, 6 Feb 2015 06:34:06 +0000 (06:34 +0000)]
MdePkg: Add Help and Prompt for new PCD

Add the help and prompt message for new PCD PcdFixedDebugPrintErrorLevel.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16788 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Add new API DebugPrintLevelEnabled() in DebugLib
Liming Gao [Fri, 6 Feb 2015 06:33:29 +0000 (06:33 +0000)]
MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib

This API is applied in _DEBUG_PRINT() macro for build time size optimization.
DebugLib library instance should implement this API to return the constant value.
DEBUG_PRINT() will base on __VA_ARGS__ for build time size optimization.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16787 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoIntelFrameworkModulePkg: Update PeiDxeDebugLibReportStatusCode library
Liming Gao [Fri, 6 Feb 2015 06:32:49 +0000 (06:32 +0000)]
IntelFrameworkModulePkg: Update PeiDxeDebugLibReportStatusCode library

Implement new API DebugPrintLevelEnabled() to base on PCD PcdFixedDebugPrintErrorLevel.

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@16786 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Add new FixedAtBuild PCD
Liming Gao [Fri, 6 Feb 2015 06:31:58 +0000 (06:31 +0000)]
MdePkg: Add new FixedAtBuild PCD

This FixedAtBuild PCD is used to control build time optimization based on debug print level.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16785 6f19259b-4bc3-4df7-8a09-765794883524

6 years ago1. Update UpdateBuildVersion.py;
Yingke Liu [Fri, 6 Feb 2015 03:40:27 +0000 (03:40 +0000)]
1. Update UpdateBuildVersion.py;

2. Generate correct HII data offset.
3. Fixed a bug for incorrect PCD value used in conditional statement.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16784 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Refine the protocol format in SmmMemLib.
Shumin Qiu [Fri, 6 Feb 2015 03:26:45 +0000 (03:26 +0000)]
MdePkg: Refine the protocol format in SmmMemLib.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16783 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoEmulatorPkg: Update web page and wiki urls
Jordan Justen [Thu, 5 Feb 2015 18:25:01 +0000 (18:25 +0000)]
EmulatorPkg: Update web page and wiki urls

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@16780 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoEmulatorPkg: EmulatorPkg/Unix/Host/Host.c line-endings to CRLF
Jordan Justen [Thu, 5 Feb 2015 18:24:48 +0000 (18:24 +0000)]
EmulatorPkg: EmulatorPkg/Unix/Host/Host.c line-endings to CRLF

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@16779 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOvmfPkg: Update web page and wiki urls
Jordan Justen [Thu, 5 Feb 2015 18:24:38 +0000 (18:24 +0000)]
OvmfPkg: Update web page and wiki urls

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>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16778 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMaintainers.txt: http://tianocore.github.io => http://www.tianocore.org
Jordan Justen [Thu, 5 Feb 2015 18:24:33 +0000 (18:24 +0000)]
Maintainers.txt: tianocore.github.io => http://tianocore.org

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>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16777 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOpen default Tcp child via BY_CHILD_CONTROLLER.
Wu Jiaxin [Thu, 5 Feb 2015 07:56:44 +0000 (07:56 +0000)]
Open default Tcp child via BY_CHILD_CONTROLLER.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16775 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOpen default Tcp child via BY_CHILD_CONTROLLER.
Wu Jiaxin [Thu, 5 Feb 2015 07:56:09 +0000 (07:56 +0000)]
Open default Tcp child via BY_CHILD_CONTROLLER.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16774 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg: Update DSC file to fix build failure in EBC.
Shumin Qiu [Thu, 5 Feb 2015 06:10:07 +0000 (06:10 +0000)]
MdeModulePkg: Update DSC file to fix build failure in EBC.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16769 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAdd the missed local variable initialization to remove the possible warning.
Long, Qin [Thu, 5 Feb 2015 05:37:10 +0000 (05:37 +0000)]
Add the missed local variable initialization to remove the possible warning.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: "Long, Qin" <qin.long@intel.com>
Reviewed-by: "Fu, Siyuan" <siyuan.fu@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@initel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16763 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUse MaxPacketSize as the initial buffer size to read data.
Elvin Li [Thu, 5 Feb 2015 01:15:09 +0000 (01:15 +0000)]
Use MaxPacketSize as the initial buffer size to read data.

If host sends more than 8 bytes of data, BABBLE error would happen if USB3 debug library uses 8 byte of buffer to read data.
We need use MaxPacketSize in USB3 debug descriptor to create buffer and read data into this buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16762 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoSecurityPkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.
Star Zeng [Thu, 5 Feb 2015 01:00:53 +0000 (01:00 +0000)]
SecurityPkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.

As the driver does not reference gEfiSmmAccess2ProtocolGuid explicitly now
after SmmMemLib introduced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16761 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.
Star Zeng [Thu, 5 Feb 2015 00:59:56 +0000 (00:59 +0000)]
MdeModulePkg: Cleanup gEfiSmmAccess2ProtocolGuid reference.

As the drivers and library do not reference gEfiSmmAccess2ProtocolGuid explicitly now
after SmmMemLib introduced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16760 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Standardized HP Copyright Message String
Tapan Shah [Wed, 4 Feb 2015 22:25:01 +0000 (22:25 +0000)]
ShellPkg: Standardized HP Copyright Message String

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Revert 16720 and 16734.
Jaben Carsey [Wed, 4 Feb 2015 16:46:59 +0000 (16:46 +0000)]
ShellPkg: Revert 16720 and 16734.

I will submit a new patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16758 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Revert 16720 and 16734.
Jaben Carsey [Wed, 4 Feb 2015 16:39:04 +0000 (16:39 +0000)]
ShellPkg: Revert 16720 and 16734.

I will submit a new patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16757 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmPlatformPkg/ArmJunoDxe: Added missing header
Olivier Martin [Wed, 4 Feb 2015 13:06:13 +0000 (13:06 +0000)]
ArmPlatformPkg/ArmJunoDxe: Added missing header

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16756 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoEnhance the parameter check to avoid potential issue in negotiation.
Ye Ting [Wed, 4 Feb 2015 08:53:56 +0000 (08:53 +0000)]
Enhance the parameter check to avoid potential issue in negotiation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16750 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoCorrect the DBX and Certificate Hash Checking.
Long, Qin [Wed, 4 Feb 2015 08:19:53 +0000 (08:19 +0000)]
Correct the DBX and Certificate Hash Checking.

Add the missed image signature verification against DBX;
and add the missed logic to enhance the certificate hash checking when handling DB database.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: "Long, Qin" <qin.long@intel.com>
Reviewed-by: "Fu, Siyuan" <siyuan.fu@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@initel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16744 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoInitialize data and correct faulty logic in TcpComponentNameGetControllerName().
Wu Jiaxin [Wed, 4 Feb 2015 06:43:34 +0000 (06:43 +0000)]
Initialize data and correct faulty logic in TcpComponentNameGetControllerName().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16743 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoInitialize data and correct faulty logic in TcpComponentNameGetControllerName().
Wu Jiaxin [Wed, 4 Feb 2015 06:42:43 +0000 (06:42 +0000)]
Initialize data and correct faulty logic in TcpComponentNameGetControllerName().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16742 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoVerified ChildHandle, and correct the name for a child.
Wu Jiaxin [Wed, 4 Feb 2015 05:47:58 +0000 (05:47 +0000)]
Verified ChildHandle, and correct the name for a child.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16741 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoVerified ChildHandle, and correct the name for a child.
Wu Jiaxin [Wed, 4 Feb 2015 05:47:07 +0000 (05:47 +0000)]
Verified ChildHandle, and correct the name for a child.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16740 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdePkg: Remove redundant ModeModulePkg dependence in SmmMemLib.
Shumin Qiu [Wed, 4 Feb 2015 03:24:56 +0000 (03:24 +0000)]
MdePkg: Remove redundant ModeModulePkg dependence in SmmMemLib.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16739 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: cast return value to correct type based on what we passed in.
Jaben Carsey [Wed, 4 Feb 2015 01:23:14 +0000 (01:23 +0000)]
ShellPkg: cast return value to correct type based on what we passed in.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16734 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Fix typos.
Qiu Shumin [Wed, 4 Feb 2015 01:15:17 +0000 (01:15 +0000)]
ShellPkg: Fix typos.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16733 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Level3 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:29:23 +0000 (21:29 +0000)]
ShellPkg: Update Level3 profile commands response output

Updates to Level3 profile commands response output.
Updating Level3 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16732 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Network1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:27:55 +0000 (21:27 +0000)]
ShellPkg: Update Network1 profile commands response output

Updates to Network1 profile commands response output.
Updating Network1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16731 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Level2 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:24:21 +0000 (21:24 +0000)]
ShellPkg: Update Level2 profile commands response output

Updates to Level2 profile commands response output.
Updating Level2 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16730 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Debug1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 21:22:53 +0000 (21:22 +0000)]
ShellPkg: Update Debug1 profile commands response output

Updates to Debug1 profile commands response output.
Updating Debug1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16729 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Level1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 19:20:59 +0000 (19:20 +0000)]
ShellPkg: Update Level1 profile commands response output

Updates to Level1 profile commands response output.
Updating Level1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16728 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Driver1 profile commands response output
Tapan Shah [Tue, 3 Feb 2015 19:04:52 +0000 (19:04 +0000)]
ShellPkg: Update Driver1 profile commands response output

Updates to Driver1 profile commands response output.
Updating Driver1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16727 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update bcfg command response output
Tapan Shah [Tue, 3 Feb 2015 18:54:54 +0000 (18:54 +0000)]
ShellPkg: Update bcfg command response output

Updates to bcfg command response output.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16726 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Update Shell.uni file with a better general command response output.
Tapan Shah [Tue, 3 Feb 2015 18:37:58 +0000 (18:37 +0000)]
ShellPkg: Update Shell.uni file with a better general command response output.

1. Updates to the general command response output.
2. Re-wording some of common shell messages.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16725 6f19259b-4bc3-4df7-8a09-765794883524

6 years ago*/Contributions.txt: Update example email address
Jordan Justen [Tue, 3 Feb 2015 17:29:14 +0000 (17:29 +0000)]
*/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

6 years agoVlv2*Pkg: Add License.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:56 +0000 (17:28 +0000)]
Vlv2*Pkg: Add License.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@16723 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoVlv2*Pkg: Add Contributions.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:51 +0000 (17:28 +0000)]
Vlv2*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@16722 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoIntelFsp*Pkg: Add Contributions.txt
Jordan Justen [Tue, 3 Feb 2015 17:28:46 +0000 (17:28 +0000)]
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

6 years agoShellPkg: Refactor out a now-redundant function
Jaben Carsey [Tue, 3 Feb 2015 16:50:12 +0000 (16:50 +0000)]
ShellPkg: Refactor out a now-redundant function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16720 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoCheck in binaries for EBC/IA32/X64/IPF built from MdePkg and BaseTools (r16700),...
Ruiyu Ni [Tue, 3 Feb 2015 12:33:10 +0000 (12:33 +0000)]
Check in binaries for EBC/IA32/X64/IPF built from MdePkg and BaseTools (r16700), FatPkg (r93).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16715 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUpdate the code not require optional parameters include DataPDUInOrder and DataSequen...
Roy Franz [Tue, 3 Feb 2015 00:53:37 +0000 (00:53 +0000)]
Update the code not require optional parameters include DataPDUInOrder and DataSequenceInOrder.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16700 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Add quotes around NSH index argument replacement
Jaben Carsey [Mon, 2 Feb 2015 21:02:56 +0000 (21:02 +0000)]
ShellPkg: Add quotes around NSH index argument replacement

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16699 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU platform
Laszlo Ersek [Mon, 2 Feb 2015 19:09:07 +0000 (19:09 +0000)]
ArmVirtualizationPkg: add simple ACPI Platform Driver to the QEMU platform

Introduce an ACPI platform driver for ARM / AARCH64 virtual machines.
"OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf" downloads ACPI
blobs from QEMU over fw_cfg, processes them, and installs the resultant
ACPI tables.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16698 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOvmfPkg/AcpiPlatformDxe: Add QEMU fw-cfg only driver
Jordan Justen [Mon, 2 Feb 2015 19:09:02 +0000 (19:09 +0000)]
OvmfPkg/AcpiPlatformDxe: Add QEMU fw-cfg only driver

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16697 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoOvmfPkg/AcpiPlatformDxe: Split QEMU fw-cfg into a new file
Jordan Justen [Mon, 2 Feb 2015 19:08:57 +0000 (19:08 +0000)]
OvmfPkg/AcpiPlatformDxe: Split QEMU fw-cfg into a new file

The code left behind in Qemu.c has some PCAT dependencies, and might
not be able to build on all platforms.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16696 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUse SmmMemLib to check communication buffer.
Yao, Jiewen [Mon, 2 Feb 2015 14:43:28 +0000 (14:43 +0000)]
Use SmmMemLib to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16695 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUse SmmMemLib to check communication buffer.
Yao, Jiewen [Mon, 2 Feb 2015 14:42:22 +0000 (14:42 +0000)]
Use SmmMemLib to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16694 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAdd SmmMemLib, which can be used by SMM driver or SMM core to check communication...
Yao, Jiewen [Mon, 2 Feb 2015 14:40:44 +0000 (14:40 +0000)]
Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Gao, Liming" <liming.gao@intel.com>
Reviewed-by: "Fan, Jeff" <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16693 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmVirtualizationQemu: ask the hardware for the timer frequency
Laszlo Ersek [Mon, 2 Feb 2015 12:01:58 +0000 (12:01 +0000)]
ArmVirtualizationQemu: ask the hardware for the timer frequency

Roughly, there are two ways to "measure ticks" in UEFI:

- the SetTimer() boot service, which sets up a one-shot or periodic event
  callback, and takes the interval length in units of 100ns,

- the Stall() boot service, which stalls the caller (but does not yield
  the CPU) for the interval specified. The interval is taken as a number
  of microseconds.

If the platform in question also follows the PI (Platform Init)
specification, then it is recommended to implement the above UEFI services
on top of the following DXE Architectural Protocols (described in PI
Volume 2):

- Timer Architectural Protocol:

  "Used to set up a periodic timer interrupt using a platform specific
  timer, and a processor-specific interrupt vector. This protocol enables
  the use of the SetTimer() Boot Service. [...]"

- Metronome Architectural Protocol:

  "Used to wait for ticks from a known time source in a platform. This
  protocol may be used to implement a simple version of the Stall() Boot
  Service. [...]"

Edk2 in general, and ArmVirtualizationQemu in particular, follow the above
pattern.

SetTimer() works correctly. The underlying Timer Architectural Protocol is
provided by "ArmPkg/Drivers/TimerDxe", and that driver calls the internal
function ArmGenericTimerGetTimerFreq() to retrieve the timer frequency.
Ultimately it boils down to reading the CNTFRQ_EL0 register.

The correct behavior of SetTimer() can be observed for example:
- in the grub-efi countdown ("grub-core/kern/arm/efi/init.c"),
- in the Intel BDS front page countdown
  ("IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c").

However, Stall() doesn't work correctly. The underlying Metronome
Architectural Protocol is provided by "EmbeddedPkg/MetronomeDxe", which
further delegates the job to the TimerLib library class. That in turn is
resolved to the "ArmPkg/Library/ArmArchTimerLib" instance, which
(finally!) takes the timer frequency from "PcdArmArchTimerFreqInHz".

In ArmVirtualizationQemu we currently specify 100MHz for this PCD. Alas,
that's incorect for:
- both QEMU/TCG (which emulates 62.5MHz, see GTIMER_SCALE in
  "target-arm/internals.h"),
- and KVM (where the host's virtualized timer can tick at 50 MHz, for
  example).

Set the PCD to 0, asking ArmArchTimerLib to interrogate CNTFRQ_EL0 as
well.

The change can be tested with eg. the following callers of Stall():
- the UEFI Shell's countdown -- before it runs "startup.nsh" -- relies on
  Stall(),
- the UEFI shell command "stall" also uses Stall(). (Time it with a
  stopwatch.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16692 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency
Laszlo Ersek [Mon, 2 Feb 2015 12:01:48 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency

Allow a platform to set PcdArmArchTimerFreqInHz to zero, and consider it a
request to use the actual timer frequency.

No global variable is introduced, so that the library can be used in PEIMs
that execute from flash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16691 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32
Laszlo Ersek [Mon, 2 Feb 2015 12:01:38 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: use edk2-conformant (UINT64 * UINT32) / UINT32

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16690 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoArmPkg: ArmArchTimerLib: clean up comments
Laszlo Ersek [Mon, 2 Feb 2015 12:01:29 +0000 (12:01 +0000)]
ArmPkg: ArmArchTimerLib: clean up comments

In the next patch we'll slightly reorganize TimerConstructor(). Let's
improve the comments first.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16689 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoSecurityPkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe
Star Zeng [Mon, 2 Feb 2015 09:31:08 +0000 (09:31 +0000)]
SecurityPkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe

for trying to reclaim variable space at EndOfDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16688 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe
Star Zeng [Mon, 2 Feb 2015 09:30:34 +0000 (09:30 +0000)]
MdeModulePkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe

for trying to reclaim variable space at EndOfDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16687 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoSecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 08:39:26 +0000 (08:39 +0000)]
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

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@16686 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoSecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 03:18:10 +0000 (03:18 +0000)]
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

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@16685 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
Star Zeng [Mon, 2 Feb 2015 03:17:27 +0000 (03:17 +0000)]
MdeModulePkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.

And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

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@16684 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Fix typos.
Qiu Shumin [Mon, 2 Feb 2015 01:51:59 +0000 (01:51 +0000)]
ShellPkg: Fix typos.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16683 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Refactor quote and escape search to use new function
Jaben Carsey [Fri, 30 Jan 2015 16:29:20 +0000 (16:29 +0000)]
ShellPkg: Refactor quote and escape search to use new function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Signed-off-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16682 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Refactor Split search to generic function
Jaben Carsey [Fri, 30 Jan 2015 16:28:22 +0000 (16:28 +0000)]
ShellPkg: Refactor Split search to generic function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Signed-off-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16681 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMove ConfigHdr from browser_storage to Formset_storage, avoid device path lost for...
Eric Dong [Fri, 30 Jan 2015 05:35:30 +0000 (05:35 +0000)]
Move ConfigHdr from browser_storage to Formset_storage, avoid device path lost for drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-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@16680 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoUpdate SPI connection parameters for Microsoft RhProxy driver.
David Wei [Thu, 29 Jan 2015 04:39:53 +0000 (04:39 +0000)]
Update SPI connection parameters for Microsoft RhProxy driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16679 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAdd SSDT for Microsoft RhProxy Driver.
David Wei [Wed, 28 Jan 2015 08:45:52 +0000 (08:45 +0000)]
Add SSDT for Microsoft RhProxy Driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16677 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAlign the overrider with UDK2014.SP1 core.
Shifei Lu [Wed, 28 Jan 2015 08:24:57 +0000 (08:24 +0000)]
Align the overrider with UDK2014.SP1 core.

The override fixed Showing IPv4 and IPv6 string format as

"EFI Network <MAC Address><IP version>" in Boot Manager Group under BIOS setup.

This override will be removed after core fixing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16675 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: refine command line parsing
Jaben Carsey [Tue, 27 Jan 2015 18:56:36 +0000 (18:56 +0000)]
ShellPkg: refine command line parsing

Correctly divide up parameters for Argc/Argv including quote ("), escape (^), and space ( ) processing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16673 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoShellPkg: Always remove non-defined environment variable
Jaben Carsey [Tue, 27 Jan 2015 18:53:27 +0000 (18:53 +0000)]
ShellPkg: Always remove non-defined environment variable

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Joe Peterson <joe.peterson@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16672 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoAlign the overrider with EDK2 trunk.
Shifei Lu [Tue, 27 Jan 2015 08:47:14 +0000 (08:47 +0000)]
Align the overrider with EDK2 trunk.

Align the overrider with EDK2 trunk.(The override fixed default console text color)
This override will be removed after core fixing.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16671 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoSecurityPkg Variable: Implement variable quota management.
Star Zeng [Tue, 27 Jan 2015 08:44:10 +0000 (08:44 +0000)]
SecurityPkg Variable: Implement variable quota management.

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@16670 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoMdeModulePkg Variable: Implement variable quota management.
Star Zeng [Tue, 27 Jan 2015 08:42:47 +0000 (08:42 +0000)]
MdeModulePkg Variable: Implement variable quota management.

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@16669 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoFixed system hang issue with accessing to Boot Maintenance Manager
Shifei Lu [Tue, 27 Jan 2015 07:34:32 +0000 (07:34 +0000)]
Fixed system hang issue with accessing to Boot Maintenance Manager

when pressed hot key to enter BIOS setup.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: Tim He <tim.he@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16666 6f19259b-4bc3-4df7-8a09-765794883524

6 years agoEnabled Performance measurement.
Mang Guo [Tue, 27 Jan 2015 04:38:18 +0000 (04:38 +0000)]
Enabled Performance measurement.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mang Guo <mang.guo@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16662 6f19259b-4bc3-4df7-8a09-765794883524