9 years agoEmbeddedPkg/MetronomeDxe: Replaced hardcoded Tick Period by PcdMetronomeTickPeriod
oliviermartin [Wed, 4 Jul 2012 20:13:48 +0000 (20:13 +0000)]
EmbeddedPkg/MetronomeDxe: Replaced hardcoded Tick Period by PcdMetronomeTickPeriod

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13495 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoARM Packages: Clean code (Remove unused PCDs, ...)
oliviermartin [Wed, 4 Jul 2012 20:12:29 +0000 (20:12 +0000)]
ARM Packages: Clean code (Remove unused PCDs, ...)

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13494 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/AsmMacroIoLib: Renamed 'GetCorePositionInStack' macro into 'GetCorePositionFro...
oliviermartin [Wed, 4 Jul 2012 20:10:18 +0000 (20:10 +0000)]
ArmPkg/AsmMacroIoLib: Renamed 'GetCorePositionInStack' macro into 'GetCorePositionFromMpId'

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13493 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPlatformPkg/Sec: Added support for Non Cold Boot Paths
oliviermartin [Wed, 4 Jul 2012 20:08:54 +0000 (20:08 +0000)]
ArmPlatformPkg/Sec: Added support for Non Cold Boot Paths

For instance, in case of CpuHotPlug boot path the platform has already been
initialized. The CPU core should not execute any of the platform initialization
in this case.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13492 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/ArmPkg.dec: Removed duplicated PCD declarations
oliviermartin [Wed, 4 Jul 2012 20:07:28 +0000 (20:07 +0000)]
ArmPkg/ArmPkg.dec: Removed duplicated PCD declarations

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13491 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg: Fixed RVCT compiler warnings
oliviermartin [Wed, 4 Jul 2012 20:06:23 +0000 (20:06 +0000)]
ArmPkg: Fixed RVCT compiler warnings

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13490 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/PL390Gic: Added support for ArmGicDisableInterruptInterface()
oliviermartin [Wed, 4 Jul 2012 20:02:49 +0000 (20:02 +0000)]
ArmPkg/PL390Gic: Added support for ArmGicDisableInterruptInterface()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13489 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/PL390Gic: Fixed initialization when the primary core is not (Cluster0,Cpu0)
oliviermartin [Wed, 4 Jul 2012 19:58:54 +0000 (19:58 +0000)]
ArmPkg/PL390Gic: Fixed initialization when the primary core is not (Cluster0,Cpu0)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13488 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the comments for EFI_IFR_TYPE_VALUE to follow UEFI spec 2.3.1b
ydong10 [Wed, 4 Jul 2012 07:24:19 +0000 (07:24 +0000)]
Update the comments for EFI_IFR_TYPE_VALUE to follow UEFI spec 2.3.1b

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13487 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix a buffer overflow bug in VariableSmm driver.
sfu5 [Wed, 4 Jul 2012 04:39:18 +0000 (04:39 +0000)]
Fix a buffer overflow bug in VariableSmm driver.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13486 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate PXE driver to wait for IPv6 duplicate address detection to finish.
sfu5 [Wed, 4 Jul 2012 04:34:10 +0000 (04:34 +0000)]
Update PXE driver to wait for IPv6 duplicate address detection to finish.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: qianouyang <qian.ouyang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13485 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Fix recursion when deleting all variables.
ydong10 [Wed, 4 Jul 2012 01:14:07 +0000 (01:14 +0000)]
ShellPkg: Fix recursion when deleting all variables.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13484 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoReturn EFI_BROWSER_ACTION_REQUEST_FORM_APPLY action request to avoid discard action...
ydong10 [Tue, 3 Jul 2012 07:56:02 +0000 (07:56 +0000)]
Return EFI_BROWSER_ACTION_REQUEST_FORM_APPLY action request to avoid discard action useless.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13483 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoDuetPkg/SataController: Fix possible memory leak at error handling of SataController...
erictian [Tue, 3 Jul 2012 03:24:47 +0000 (03:24 +0000)]
DuetPkg/SataController: Fix possible memory leak at error handling of SataController driver

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jie Lin <jie.lin@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13482 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Update .S files to be consi...
rsun3 [Mon, 2 Jul 2012 10:38:24 +0000 (10:38 +0000)]
EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Update .S files to be consistent with corresponding .asm files.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13481 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoIn PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or
czhang46 [Mon, 2 Jul 2012 05:17:16 +0000 (05:17 +0000)]
In PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or
Enter is pressed to goto front page

Signed-off-by: czhang46
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13480 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoChoose a better subnet mask value for the IPv4 address.
lpleahy [Fri, 29 Jun 2012 00:46:58 +0000 (00:46 +0000)]
Choose a better subnet mask value for the IPv4 address.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13479 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoTry to fix the error detected by the 64-bit GCC compiler.
lpleahy [Thu, 28 Jun 2012 00:35:53 +0000 (00:35 +0000)]
Try to fix the error detected by the 64-bit GCC compiler.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13478 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd more SMRAM range check to 3 SMI handler.
czhang46 [Wed, 27 Jun 2012 05:08:49 +0000 (05:08 +0000)]
Add more SMRAM range check to 3 SMI handler.

Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13477 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUse the ARM compiler intrinsics library when compiling the Sockets driver.
lpleahy [Tue, 26 Jun 2012 17:48:28 +0000 (17:48 +0000)]
Use the ARM compiler intrinsics library when compiling the Sockets driver.

Submitted-by: Oliver Martin
Reviewed-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13476 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoDefine the global variables as weak to enable the proper linking with applications...
lpleahy [Tue, 26 Jun 2012 17:45:56 +0000 (17:45 +0000)]
Define the global variables as weak to enable the proper linking with applications and the Sockets driver.

Submitted-by: Oliver Martin
Reviewed-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13475 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate the logic to get default value for question without storage.
ydong10 [Tue, 26 Jun 2012 08:57:44 +0000 (08:57 +0000)]
Update the logic to get default value for question without storage.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13474 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoCheck whether has storage for date/time opcode, if it has storage, also generate...
ydong10 [Tue, 26 Jun 2012 08:42:50 +0000 (08:42 +0000)]
Check whether has storage for date/time opcode, if it has storage, also generate the offset/width info for it.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13473 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkCompatibilityPkg SmmBaseHelper: In SmmHandlerEntry(), add check to ensure CommBuff...
rsun3 [Tue, 26 Jun 2012 05:37:34 +0000 (05:37 +0000)]
EdkCompatibilityPkg SmmBaseHelper: In SmmHandlerEntry(), add check to ensure CommBuff+CommBuffSize is outside of SMRAM.

Signed-off by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13472 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd OPTIONAL attribute to parameter ‘ImageHandle’ in NetLibGetMacString to benefit...
tye1 [Mon, 25 Jun 2012 09:25:22 +0000 (09:25 +0000)]
Add OPTIONAL attribute to parameter ‘ImageHandle’ in NetLibGetMacString to benefit consumer of this API.

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13471 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg PI SMM Core: Unregister handler for SMM Ready To Lock event in SmmReadyT...
rsun3 [Mon, 25 Jun 2012 05:32:01 +0000 (05:32 +0000)]
MdeModulePkg PI SMM Core: Unregister handler for SMM Ready To Lock event in SmmReadyToLockHandler() at first call so that it won't be invoked again.

Signed-off by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13470 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix incorrect return status in Pkcs7Verify().
tye1 [Mon, 25 Jun 2012 05:15:40 +0000 (05:15 +0000)]
Fix incorrect return status in Pkcs7Verify().

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13469 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeMdeModulePkg/Usb: Eliminated the use of Set_Idle request on usb modules.
erictian [Mon, 25 Jun 2012 02:37:38 +0000 (02:37 +0000)]
MdeMdeModulePkg/Usb: Eliminated the use of Set_Idle request on usb modules.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13468 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRoll back the changes for BaseTools
ydong10 [Mon, 25 Jun 2012 02:24:12 +0000 (02:24 +0000)]
Roll back the changes for BaseTools

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13467 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix listen exit path when last port returns an error.
lpleahy [Fri, 22 Jun 2012 21:46:55 +0000 (21:46 +0000)]
Fix listen exit path when last port returns an error.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13466 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkShellPkg/ShellR33.patch: Fixed '32'2' folder names
oliviermartin [Fri, 22 Jun 2012 18:47:06 +0000 (18:47 +0000)]
EdkShellPkg/ShellR33.patch: Fixed '32'2' folder names

The 'ShellR33.path' was modifying the 'IA32' folder into 'Ia32'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu NI <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13465 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix a typo.
ydong10 [Thu, 21 Jun 2012 05:52:04 +0000 (05:52 +0000)]
Fix a typo.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13464 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdePkg SmmSwDispatch2.h: comment cleanup.
rsun3 [Thu, 21 Jun 2012 05:47:31 +0000 (05:47 +0000)]
MdePkg SmmSwDispatch2.h: comment cleanup.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13463 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoStdLib/LibC/Uefi/Devices/Console/daConsole.c: Fix name of the XY offset union.
darylm503 [Wed, 20 Jun 2012 20:28:05 +0000 (20:28 +0000)]
StdLib/LibC/Uefi/Devices/Console/daConsole.c:  Fix name of the XY offset union.

The XYoffset union typedef has been renamed to XY_OFFSET to conform to the C Coding Standards.
Fixes a build error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13462 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAlign the perf data between FPDT and DP.
lzeng14 [Tue, 19 Jun 2012 14:43:33 +0000 (14:43 +0000)]
Align the perf data between FPDT and DP.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13461 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeMoMdeMdeModulePkg/EhciPei: By default power on all root ports of EHCI host control...
erictian [Mon, 18 Jun 2012 06:25:34 +0000 (06:25 +0000)]
MdeMoMdeMdeModulePkg/EhciPei: By default power on all root ports of EHCI host controller for recovery path

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13460 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeMdeModulePkg/Usb: Coding style alignment
erictian [Mon, 18 Jun 2012 06:16:55 +0000 (06:16 +0000)]
MdeMdeModulePkg/Usb: Coding style alignment

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13459 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix potential memory leak issue.
lzeng14 [Mon, 18 Jun 2012 01:34:27 +0000 (01:34 +0000)]
Fix potential memory leak issue.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13458 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoStdLib: Add multi-byte character support. The normal "narrow" character set is now...
darylm503 [Fri, 15 Jun 2012 19:58:39 +0000 (19:58 +0000)]
StdLib: Add multi-byte character support.  The normal "narrow" character set is now UTF-8 instead of ASCII.

Add library classes which are required by StdLib, but not commonly defined in Platform DSC files, to StdLib.inc.
Modify MB_LEN_MAX to be 4, the maximum length of UTF-8 characters.
Adjust size of internal buffers to be multiples of MB_LEN_MAX instead of assuming 1-byte characters.
Make the XYoffset object public and move its declaration into EfiSysCall.h.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
Reviewed-by: lee.g.rosenbaum@intel.com
Reviewed-by: leroy.p.leahy@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13457 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFixed header comment
lpleahy [Thu, 14 Jun 2012 18:36:50 +0000 (18:36 +0000)]
Fixed header comment

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13456 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd missing IPv6 address definitions.
lpleahy [Thu, 14 Jun 2012 18:16:01 +0000 (18:16 +0000)]
Add missing IPv6 address definitions.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13455 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkShellPkg/ShellR33.patch: Fixed case in filenames
oliviermartin [Thu, 14 Jun 2012 09:19:05 +0000 (09:19 +0000)]
EdkShellPkg/ShellR33.patch: Fixed case in filenames

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13454 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeMdeModulePkg/Usb: Fixed a build error in UsbMouseDxe and UsbMouseAbsolutePointerDx...
erictian [Thu, 14 Jun 2012 08:54:52 +0000 (08:54 +0000)]
MdeMdeModulePkg/Usb: Fixed a build error in UsbMouseDxe and UsbMouseAbsolutePointerDxe driver.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13453 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnable execute property to avoid format is changed carelessly.
vanjeff [Thu, 14 Jun 2012 06:43:08 +0000 (06:43 +0000)]
Enable execute property to avoid format is changed carelessly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13451 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemove Carriage-Return character.
vanjeff [Thu, 14 Jun 2012 06:31:44 +0000 (06:31 +0000)]
Remove Carriage-Return character.

signed-off-by: Jeff Fan <jeff.fan@intel.com>
reviewed-by: Ting Ye <ting.ye@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13450 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/UsbMouse: Get HID descriptor from the return of Get_Desc(Configuration...
erictian [Wed, 13 Jun 2012 08:05:03 +0000 (08:05 +0000)]
MdeModulePkg/UsbMouse: Get HID descriptor from the return of Get_Desc(Configuration) request with total length rather than from Get_Hid_Desc request.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13449 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Fix en-US characters that are outside the Basic Latin character set range
jcarsey [Tue, 12 Jun 2012 17:22:19 +0000 (17:22 +0000)]
ShellPkg: Fix en-US characters that are outside the Basic Latin character set range

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com
reviewed-by: Jaben Carsey jaben.carsey@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13448 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd comment for modules which have external input.
jyao1 [Tue, 12 Jun 2012 08:28:43 +0000 (08:28 +0000)]
Add comment for modules which have external input.

signed-off-by: jiewen.yao@intel.com
reviewed-by: guo.dong@intel.com
reviewed-by: ting.ye@intel.com
reviewed-by: liming.gao@intel.com
reviewed-by: elvin.li@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13446 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEFI_STATUS_CODE_DATA_MAX_SIZE is just for the maximum size of an EFI_DEBUG_INFO struc...
lzeng14 [Tue, 12 Jun 2012 04:52:23 +0000 (04:52 +0000)]
EFI_STATUS_CODE_DATA_MAX_SIZE is just for the maximum size of an EFI_DEBUG_INFO structure. Seemly, it is not suitable to be used in SerialStatusCodeHandler, so update SerialStatusCodeHandler to use MAX_DEBUG_MESSAGE_LENGTH (0x100) as the max printed string size to align with other DebugLib’s behavior.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13445 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoTo be consistent with PeiReportStatusCodeLib and DxeReportStatusCode, use MAX_EXTENDE...
lzeng14 [Tue, 12 Jun 2012 04:46:33 +0000 (04:46 +0000)]
To be consistent with PeiReportStatusCodeLib and DxeReportStatusCode, use MAX_EXTENDED_DATA_SIZE (0x200) as the local max buffer size in RuntimeDxeReportStatusCodeLib.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13444 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine the logic about initialize questions value
ydong10 [Tue, 12 Jun 2012 03:27:45 +0000 (03:27 +0000)]
Refine the logic about initialize questions value

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13443 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate PeiDxeDebugDebugLibReportStatusCode to use CopyMem() in place of AsciiStrnCpy...
lgao4 [Tue, 12 Jun 2012 02:16:16 +0000 (02:16 +0000)]
Update PeiDxeDebugDebugLibReportStatusCode to use CopyMem() in place of AsciiStrnCpy() to copy ASCII string to save size.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13441 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoThis revision can only work with Intel(c) UDK Debugger Tool version 1.2 or greater...
vanjeff [Mon, 11 Jun 2012 02:15:11 +0000 (02:15 +0000)]
This revision can only work with Intel(c) UDK Debugger Tool version 1.2 or greater. Detailed change log is as below:
1. Define the transfer protocol revision mechanism. Increase the revision number to 0.2 and inform user to use the latest one when the HOST software is too old.
   New HOST software will implement logic to handle all other revision mismatch cases.
2. Define new debug message packet to print the debug agent trace information by debug port channel.
3. Add check sum mechanism in the communication protocol between TARGET/HOST.
4. Introduced one "try" mechanism to avoid Debug Agent crashed by some invalid HOST command.
5. Enable the late-attach feature: Change the break in from "!" to "\xFC". Add a new short symbol "\xFA" for attach and a new debug command for detach.
6. Support Terminal work on debug port by install EFI Serial IO protocol upon Debug Communication Library.
7. Enable CPUID feature.
8. Enable the hardware data breakpoint.
9. add handshake to improve usb debug cable identify stability issue.
10.Refine all the communication protocol packet to improve extensibility and debugging performance.
  a. Use 64bit for IO port address.
  b. Add additional Width field to READ_MEMORY/WRITE_MEMORY.
  c. Add SEARCH_SIGNATURE support to speed the symbol finding for late attach.
  d. Remove READ_GROUP register.
  e. Add READ_ALL_REGISTERS support (WinDbg always requests to read all registers).
11.Move AcquireDebugPortControl () in advance to fix resource collision on IpiSentByApFlag.
12.Fix IO break point does not work issue in PEI phase.
13.Avoid BSP/APs collision when they met break point at the same time.
14.Solve a bug of calculating debug handle in sec phase.
15.Use mailbox content at Dxe phase but not clear it and reinitialize again.
16.Fix FP/MMX/XMM/IO/MSR access issue in both Gdb and WinDbg.

Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13437 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix port retry behavior during connect - All port error paths exit through ConnectCom...
lpleahy [Fri, 8 Jun 2012 20:53:12 +0000 (20:53 +0000)]
Fix port retry behavior during connect - All port error paths exit through ConnectComplete to try the next port.  When the last port fails to connect, the port error status to errno translation gets done by ConnectPoll.

Using two network adapters, second one always connected to the network.

1. Eth0 not configured, not connected - short delay
2. Eth0 not configured, connected - short delay
3. Eth0 configured, not connected - short delay
4. Eth0 configured, connected to private network - long delay due to connection timeout, failover to Eth1
5. Eth1 configured, connected, no server - long delay due to connection timeout, returned timeout error.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13436 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkShellPkg/EdkShellPkg.dsc: Added CompilerStubLib & CompilerIntrinsicLib for ARM...
oliviermartin [Fri, 8 Jun 2012 08:48:05 +0000 (08:48 +0000)]
EdkShellPkg/EdkShellPkg.dsc: Added CompilerStubLib & CompilerIntrinsicLib for ARM builds

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu NI <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13435 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARM
oliviermartin [Fri, 8 Jun 2012 08:44:38 +0000 (08:44 +0000)]
EdkCompatibilityPkg/CompilerStub: Created a Dummy CompilerStubLib for ARM

This Dummy CompilerStubLib avoids to add the ARM CompilerIntrinsicsLib in
every EDK module INF files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu NI <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13434 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix compatibility issue when using IPF image with PE32 magic value in the OptionalHeader.
sfu5 [Fri, 8 Jun 2012 02:09:48 +0000 (02:09 +0000)]
Fix compatibility issue when using IPF image with PE32 magic value in the OptionalHeader.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13433 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOnly use ports with a network connection (media present) when connecting to a remote...
lpleahy [Thu, 7 Jun 2012 17:38:09 +0000 (17:38 +0000)]
Only use ports with a network connection (media present) when connecting to a remote host.
Fix bug causing early exit with NO_MEDIA.
Add fix to TCP6.

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13432 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix file name not included in the inf.
ydong10 [Thu, 7 Jun 2012 03:22:13 +0000 (03:22 +0000)]
Fix file name not included in the inf.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13431 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix file guid conflict.
ydong10 [Thu, 7 Jun 2012 03:21:17 +0000 (03:21 +0000)]
Fix file guid conflict.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13430 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg/ArmLib: Fixed parameter checking in ArmConfigureMmu()
oliviermartin [Wed, 6 Jun 2012 15:47:23 +0000 (15:47 +0000)]
ArmPkg/ArmLib: Fixed parameter checking in ArmConfigureMmu()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13429 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix memory leak issues.
niruiyu [Wed, 6 Jun 2012 08:41:58 +0000 (08:41 +0000)]
Fix memory leak issues.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13428 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOnly use ports with a network connection (media present) when connecting to a remote...
lpleahy [Mon, 4 Jun 2012 20:38:03 +0000 (20:38 +0000)]
Only use ports with a network connection (media present) when connecting to a remote host.

Signed-off-by: lpleahy
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13427 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUseEfiSocketLib.c - Only exit for out of resources, otherwise use all network adapters.
lpleahy [Fri, 1 Jun 2012 20:01:30 +0000 (20:01 +0000)]
UseEfiSocketLib.c - Only exit for out of resources, otherwise use all network adapters.
Service.c - Return EFI_SUCCESS if any of the protocols are present.  Return failure only when no protocols are available or no more memory available.

Signed-off-by: lpleahy
Reviewed-by: vzimmer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13426 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOvmfPkg/AcpiPlatformDxe: Fix VS2010 build issue
jljusten [Fri, 1 Jun 2012 17:55:00 +0000 (17:55 +0000)]
OvmfPkg/AcpiPlatformDxe: Fix VS2010 build issue

Reported-by: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13425 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoPcAtChipsetPkg/PciHostBridgeDxe: Improve KVM FIFO I/O read/write performance
jljusten [Fri, 1 Jun 2012 17:07:00 +0000 (17:07 +0000)]
PcAtChipsetPkg/PciHostBridgeDxe: Improve KVM FIFO I/O read/write performance

KVM can substantially boost the speed of the rep insb/insw/insl
and rep outsb/outsw/outsl instructions by transferring up to
a page of data per VM trap.

This change adds assembly handling of the PCI Host Bridge
I/O FIFO Reads and Writes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13424 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnhance GPT measurement to be able to handle different partition entry size.
gdong1 [Fri, 1 Jun 2012 08:06:37 +0000 (08:06 +0000)]
Enhance GPT measurement to be able to handle different partition entry size.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13422 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix TCG PPI request EnableActivateClear failure.
gdong1 [Fri, 1 Jun 2012 07:58:58 +0000 (07:58 +0000)]
Fix TCG PPI request EnableActivateClear failure.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13421 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't...
niruiyu [Fri, 1 Jun 2012 03:39:39 +0000 (03:39 +0000)]
Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13418 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix SmmCryptLib issue when calling time() in RealTimeClock.c
tye1 [Fri, 1 Jun 2012 02:37:24 +0000 (02:37 +0000)]
Fix SmmCryptLib issue when calling time() in RealTimeClock.c

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13417 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoArmPkg: Enhance CompareGuid performance by using CompareMem instead of nested unalign...
oliviermartin [Thu, 31 May 2012 15:28:37 +0000 (15:28 +0000)]
ArmPkg: Enhance CompareGuid performance by using CompareMem instead of nested unaligned read calls

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
Reviewed-by: Olivier Martin olivier.martin@arm.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13409 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFixed build failed.
ydong10 [Thu, 31 May 2012 08:35:48 +0000 (08:35 +0000)]
Fixed build failed.

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoChange returned status codes for SmiManage() per PI 1.2.1 spec.
rsun3 [Thu, 31 May 2012 04:06:13 +0000 (04:06 +0000)]
Change returned status codes for SmiManage() per PI 1.2.1 spec.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13394 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRemove CPU dead loop code from IA32 assembly codes.
vanjeff [Thu, 31 May 2012 01:34:44 +0000 (01:34 +0000)]
Remove CPU dead loop code from IA32 assembly codes.

Signed-off-by: Fan Jeff <jeff.fan@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13388 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOvmfPkg/AcpiPlatformDxe: Dynamically add Local APIC entries in MADT
jljusten [Wed, 30 May 2012 23:15:59 +0000 (23:15 +0000)]
OvmfPkg/AcpiPlatformDxe: Dynamically add Local APIC entries in MADT

Update MADT processing for QEMU to add additional Local APIC
entries to the MADT.

The MADT is still built with a single Local APIC entry.
If the AcpiPlatformDxe driver determines that more processors
are available, then additional Local APIC entries are added
to the MADT at runtime.

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

9 years agoOvmfPkg ACPI MADT: Make processor IDs zero based
jljusten [Wed, 30 May 2012 23:15:42 +0000 (23:15 +0000)]
OvmfPkg ACPI MADT: Make processor IDs zero based

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

9 years agoOvmfPkg/AcpiPlatformDxe: Detect QEMU & Xen
jljusten [Wed, 30 May 2012 23:15:27 +0000 (23:15 +0000)]
OvmfPkg/AcpiPlatformDxe: Detect QEMU & Xen

Detect QEMU & Xen, and allow each to choose how to publish
the individual ACPI tables.

Currently both paths simply publish the tables unmodified.

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

9 years agoOvmfPkg: Add AcpiPlatformDxe
jljusten [Wed, 30 May 2012 23:15:00 +0000 (23:15 +0000)]
OvmfPkg: Add AcpiPlatformDxe

This driver is currently a direct copy of

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

9 years agoOvmfPkg: Add QemuFwCfgLib library class and implementation
jljusten [Wed, 30 May 2012 23:14:38 +0000 (23:14 +0000)]
OvmfPkg: Add QemuFwCfgLib library class and implementation

QEMU's Firmware Configuration interface gives the firmware
access to various types of information.

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

9 years agoShellBinPkg: Update binary images to those made from revision 13224 of ShellPkg.
jcarsey [Wed, 30 May 2012 20:10:20 +0000 (20:10 +0000)]
ShellBinPkg: Update binary images to those made from revision 13224 of ShellPkg.

signed-off-by: jaben carsey jaben.carsey@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13382 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Fix display of 64-bit BARs in PCI dump on 32-bit systems.
jcarsey [Wed, 30 May 2012 17:38:23 +0000 (17:38 +0000)]
ShellPkg: Fix display of 64-bit BARs in PCI dump on 32-bit systems.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13381 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectat...
jcarsey [Wed, 30 May 2012 17:34:16 +0000 (17:34 +0000)]
ShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectation that the driver is responsible for ensuring that they are only called when boot services are present.  Also adds a ShellCommandLib Depex for gEfiUnicodeCollation2ProtocolGuid to fix constructor crash when used by drivers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
reviewed-by: jaben carsey jaben.carsey@intel.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13380 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRecord LoadImage perf log for LoadImageEx() and use NULL as Handle to record StartIma...
lzeng14 [Wed, 30 May 2012 10:48:50 +0000 (10:48 +0000)]
Record LoadImage perf log for LoadImageEx() and use NULL as Handle to record StartImage perf log when StartImage() fails.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13379 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoLoadedImageDevicePath protocol may be installed with NULL device path, so add check...
lzeng14 [Wed, 30 May 2012 10:36:52 +0000 (10:36 +0000)]
LoadedImageDevicePath protocol may be installed with NULL device path, so add check before using the device path.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13378 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix IA32 build fail.
lzeng14 [Wed, 30 May 2012 09:11:52 +0000 (09:11 +0000)]
Fix IA32 build fail.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13377 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoNew EDK Shell binary(r59).
niruiyu [Wed, 30 May 2012 09:08:33 +0000 (09:08 +0000)]
New EDK Shell binary(r59).

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13376 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAdd new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also...
ydong10 [Wed, 30 May 2012 07:36:00 +0000 (07:36 +0000)]
Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524

rsun3 [Wed, 30 May 2012 05:24:42 +0000 (05:24 +0000)]

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13374 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoAccording to UEFI spec 2.3.1a. hardware error record variable should use the EFI_HARD...
lzeng14 [Wed, 30 May 2012 02:53:10 +0000 (02:53 +0000)]
According to UEFI spec 2.3.1a. hardware error record variable should use the EFI_HARDWARE_ERROR_VARIABLE VendorGuid and have the L"HwErrRec####" name convention, #### is a printed hex value and no 0x or h is included in the hex value.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13373 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoReturn EFI_WRITE_PROTECTED when setting HwErrRecSupport Global Variable at runtime.
lzeng14 [Wed, 30 May 2012 02:42:26 +0000 (02:42 +0000)]
Return EFI_WRITE_PROTECTED when setting HwErrRecSupport Global Variable at runtime.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13372 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoEnable wide string for title and help string
ydong10 [Tue, 29 May 2012 11:07:05 +0000 (11:07 +0000)]
Enable wide string for title and help string

Sign-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13371 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/Ata: Clear PxCmd.SUD bit when the port has no device presented at AHCI...
erictian [Tue, 29 May 2012 07:05:33 +0000 (07:05 +0000)]
MdeModulePkg/Ata: Clear PxCmd.SUD bit when the port has no device presented at AHCI mode.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13370 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoMdeModulePkg/Ata: Use a new Pcd named "PcdAtaSmartEnable" to control if enabling...
erictian [Tue, 29 May 2012 06:59:26 +0000 (06:59 +0000)]
MdeModulePkg/Ata: Use a new Pcd named "PcdAtaSmartEnable" to control if enabling S.M.A.R.T feature by default.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13369 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate DxeCore and FwVolDxe drivers to inherit authentication status for the FV image...
lzeng14 [Tue, 29 May 2012 05:22:01 +0000 (05:22 +0000)]
Update DxeCore and FwVolDxe drivers to inherit authentication status for the FV image, if the image came from an FV image file and section in another firmware volume.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13368 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoOptimize the log entry search algorithm to save boot performance.
lzeng14 [Tue, 29 May 2012 05:02:43 +0000 (05:02 +0000)]
Optimize the log entry search algorithm to save boot performance.
1. Search from the first entry can be changed to Search from the end entry, because most End just follows its Start.
2. Match Start and End entry, the first comparison can be changed from Handle to EndTimeStamp, because only zero EndTimeStamp is required to be matched.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13367 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine the code to follow coding style.
ydong10 [Mon, 28 May 2012 07:03:26 +0000 (07:03 +0000)]
Refine the code to follow coding style.

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13366 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoUpdate to use correct file name for video option.
niruiyu [Mon, 28 May 2012 06:37:32 +0000 (06:37 +0000)]
Update to use correct file name for video option.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13365 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix a bug in DxeImageVerificationLib to use the correct certificate length when verif...
sfu5 [Mon, 28 May 2012 04:51:53 +0000 (04:51 +0000)]
Fix a bug in DxeImageVerificationLib to use the correct certificate length when verifying a signed EFI image.

Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13364 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoFix build failed
ydong10 [Mon, 28 May 2012 02:39:50 +0000 (02:39 +0000)]
Fix build failed

Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13363 6f19259b-4bc3-4df7-8a09-765794883524

9 years agoRefine logic about validate boot option.
ydong10 [Fri, 25 May 2012 05:04:13 +0000 (05:04 +0000)]
Refine logic about validate boot option.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13362 6f19259b-4bc3-4df7-8a09-765794883524