]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
11 years agoMdeModulePkg/AtaAtapiPassThru: valid ports transverse algo of AHCI controller is...
erictian [Fri, 9 Nov 2012 06:39:56 +0000 (06:39 +0000)]
MdeModulePkg/AtaAtapiPassThru: valid ports transverse algo of AHCI controller is updated to handle inconsecutive case

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

11 years agoRefine code to make it more safely.
ydong10 [Thu, 8 Nov 2012 03:15:20 +0000 (03:15 +0000)]
Refine code to make it more safely.

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

11 years agoBuild the registered guid HOB and SystemTable to record the GUID itself in PeiExtract...
lzeng14 [Thu, 8 Nov 2012 01:12:56 +0000 (01:12 +0000)]
Build the registered guid HOB and SystemTable to record the GUID itself in PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13930 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMoved the PeiS3ResumeState access when PeiS3ResumeState is not 0, this will fix K9...
li-elvin [Wed, 7 Nov 2012 04:44:04 +0000 (04:44 +0000)]
Moved the PeiS3ResumeState access when PeiS3ResumeState is not 0, this will fix K9 error.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13929 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix ECC issue
czhang46 [Mon, 5 Nov 2012 02:52:13 +0000 (02:52 +0000)]
Fix ECC issue

Signed-off-by : chao zhang<chao.b.zhang@intel.com>
Reviewed-by  :  fan  jeff <jeff.fan@intel.com>

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

11 years agoOvmfPkg: Add support for qemu's -kernel parameter
jljusten [Fri, 2 Nov 2012 18:28:17 +0000 (18:28 +0000)]
OvmfPkg: Add support for qemu's -kernel parameter

If QEMU's -kernel parameter was used, then download the
kernel from the FwCfg interface, and launch it.  (See -kernel,
-initrd, -append) The application uses the LoadLinuxLib to boot
the kernel image.

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

11 years agoOvmfPkg: Add LoadLinuxLib library implementation
jljusten [Fri, 2 Nov 2012 18:27:55 +0000 (18:27 +0000)]
OvmfPkg: Add LoadLinuxLib library implementation

This code is based on efilinux's bzimage support.
git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git

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

11 years agoOvmfPkg: Add LoadLinuxLib library interface
jljusten [Fri, 2 Nov 2012 18:26:48 +0000 (18:26 +0000)]
OvmfPkg: Add LoadLinuxLib library interface

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

11 years agoOvmfPkg: Add Linux bzimage include file
jljusten [Fri, 2 Nov 2012 18:26:30 +0000 (18:26 +0000)]
OvmfPkg: Add Linux bzimage include file

This file is from the efilinux project where it resides
under the path loaders/bzimage/bzimage.h.
git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git

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

11 years agoAdd missing PCI class code definition.
niruiyu [Fri, 2 Nov 2012 06:13:14 +0000 (06:13 +0000)]
Add missing PCI class code definition.
PCI22/PCI23/PCI30 spec were reviewed and the missing definitions were added to accordingly Pci22.h/Pci23.h/Pci30.h.
All other class code definitions that are not defined in PCI Local Bus specification but in PCI Code and ID Assignment specification are defined in PciCodeId.h.

Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Liming Gao<liming.gao@intel.com>
Reviewed-by: Hot Tian<hot.tian@intel.com>
Reviewed-by: Elvin Li<elvin.li@intel.com>
Reviewed-by: Feng Tian<feng.tian@intel.com>
Reviewed-by: Jiewen Yao<jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13919 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate comments for functions UhciAllocateDev, EhcCreateUsb2Hc and XhcCreateUsbHc.
li-elvin [Fri, 2 Nov 2012 00:58:15 +0000 (00:58 +0000)]
Update comments for functions UhciAllocateDev, EhcCreateUsb2Hc and XhcCreateUsbHc.

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

11 years agoFixed one bug: gSmmCorePrivate->InSmm is not set to FALSE correctly before exiting
vanjeff [Thu, 1 Nov 2012 23:51:22 +0000 (23:51 +0000)]
Fixed one bug: gSmmCorePrivate->InSmm is not set to FALSE correctly before exiting

signed-off-by: Jeff Fan <jeff.fan@intel.com>
reviewed-by: Michael.D.Kinney <Michael.D.Kinney@intel.com>

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

11 years agoMdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModul...
erictian [Thu, 1 Nov 2012 06:59:25 +0000 (06:59 +0000)]
MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib

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

11 years agoAdd Physical Presence request UI detection logic. Refine UIConfirm ReadKey logic
czhang46 [Thu, 1 Nov 2012 04:46:26 +0000 (04:46 +0000)]
Add Physical Presence request UI detection logic. Refine UIConfirm ReadKey logic

Signed-off-by : chao zhang  <chao.b.zhang@intel.com>
Reviewed-by   : dong guo    <guo.dong@intel.com>

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

11 years agoFix build fail.
ydong10 [Thu, 1 Nov 2012 03:55:20 +0000 (03:55 +0000)]
Fix build fail.

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

11 years agoAdd more check to make code more safely.
ydong10 [Thu, 1 Nov 2012 02:10:31 +0000 (02:10 +0000)]
Add more check to make code more safely.

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

11 years agoMdeModulePkg/AtaBusDxe: remove a redundant error check
erictian [Wed, 31 Oct 2012 09:33:40 +0000 (09:33 +0000)]
MdeModulePkg/AtaBusDxe: remove a redundant error check

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

11 years agoRaise TPL to high to disable CPU interrupt before 8259 legacy base vector is changed...
li-elvin [Wed, 31 Oct 2012 08:58:27 +0000 (08:58 +0000)]
Raise TPL to high to disable CPU interrupt before 8259 legacy base vector is changed, then restore TPL level at last when 8259 initialization is done.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13901 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoInstall CustomGuidedSectionExtractionPpi for Tiano or Lzma DeCompression on S3 boot...
lgao4 [Wed, 31 Oct 2012 08:56:25 +0000 (08:56 +0000)]
Install CustomGuidedSectionExtractionPpi for Tiano or Lzma DeCompression on S3 boot in DxeIpl.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13900 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove the unsupported SEC PEIM PEI_CORE module type from DxeS3BootScriptLib.
lzeng14 [Wed, 31 Oct 2012 03:31:08 +0000 (03:31 +0000)]
Remove the unsupported SEC PEIM PEI_CORE module type from DxeS3BootScriptLib.

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

11 years agoFix build failure of PcAtChipsetPkg.
li-elvin [Wed, 31 Oct 2012 01:41:54 +0000 (01:41 +0000)]
Fix build failure of PcAtChipsetPkg.

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

11 years agoFix build failure.
li-elvin [Wed, 31 Oct 2012 01:29:04 +0000 (01:29 +0000)]
Fix build failure.

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

11 years agoFix memory out of band access in AsmFxSave() and AsmFxRestore().
lgao4 [Tue, 30 Oct 2012 08:36:02 +0000 (08:36 +0000)]
Fix memory out of band access in AsmFxSave() and AsmFxRestore().

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

11 years agoFix memory out of band access in AsmFxSave() and AsmFxRestore().
lgao4 [Tue, 30 Oct 2012 08:35:08 +0000 (08:35 +0000)]
Fix memory out of band access in AsmFxSave() and AsmFxRestore().

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

11 years agoFix comment typo to use UEFI spec defined WIN_CERT_TYPE_EFI_GUID.
lgao4 [Tue, 30 Oct 2012 08:27:44 +0000 (08:27 +0000)]
Fix comment typo to use UEFI spec defined WIN_CERT_TYPE_EFI_GUID.

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

11 years agoAdd missing status code in several modules.
li-elvin [Tue, 30 Oct 2012 04:25:43 +0000 (04:25 +0000)]
Add missing status code in several modules.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13892 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing status code in several modules.
li-elvin [Tue, 30 Oct 2012 04:25:20 +0000 (04:25 +0000)]
Add missing status code in several modules.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13891 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing status code in several modules.
li-elvin [Tue, 30 Oct 2012 04:23:40 +0000 (04:23 +0000)]
Add missing status code in several modules.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13890 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing status code in several modules.
li-elvin [Tue, 30 Oct 2012 04:19:03 +0000 (04:19 +0000)]
Add missing status code in several modules.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13889 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoCorrect the definition for Modal opcode, from EFI_IFR_MODAL to EFI_IFR_MODAL_TAG
ydong10 [Tue, 30 Oct 2012 02:08:44 +0000 (02:08 +0000)]
Correct the definition for Modal opcode, from EFI_IFR_MODAL to EFI_IFR_MODAL_TAG

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

11 years agoArmPlatformPkg/Scripts: Fixed the Makefile for Windows
oliviermartin [Mon, 29 Oct 2012 14:54:21 +0000 (14:54 +0000)]
ArmPlatformPkg/Scripts: Fixed the Makefile for Windows

This is the Makefile for the Windows version of Eclipse (use
MingW for Unix 'emulation').

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

11 years agoFix issue that ifconfig –c cannot clear IP address details.
tye1 [Mon, 29 Oct 2012 05:20:18 +0000 (05:20 +0000)]
Fix issue that ifconfig –c cannot clear IP address details.

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

11 years agoCreate a MAX_TIMER_TICK_DURATION for the error handling in 8254 timer module.
li-elvin [Thu, 25 Oct 2012 06:26:39 +0000 (06:26 +0000)]
Create a MAX_TIMER_TICK_DURATION for the error handling in 8254 timer module.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Tian Hot <hot.tian@intel.com>
Reviewed-by: Zeng Star <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13884 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd uninstalling GOP and UGA protocol in Consplitter Stop ().
li-elvin [Thu, 25 Oct 2012 06:16:14 +0000 (06:16 +0000)]
Add uninstalling GOP and UGA protocol in Consplitter Stop ().

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Tian Hot <hot.tian@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13883 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse ReadUnaligned16 function to access the buffer which is pointed by a possible...
li-elvin [Wed, 24 Oct 2012 01:10:47 +0000 (01:10 +0000)]
Use ReadUnaligned16 function to access the buffer which is pointed by a possible unaligned pointer.

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

11 years agoOvmfPkg VirtioScsiDxe: Fix build with VS2010
jljusten [Tue, 23 Oct 2012 22:16:14 +0000 (22:16 +0000)]
OvmfPkg VirtioScsiDxe: Fix build with VS2010

Structures should not be directly assigned in EDK II
code, since this leads to different behaviours on various
compilers.

Instead, use ZeroMem to zero out the structures.

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

11 years agoAdd assertion to make sure the pointer is not NULL.
niruiyu [Tue, 23 Oct 2012 06:42:32 +0000 (06:42 +0000)]
Add assertion to make sure the pointer is not NULL.

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

11 years agoArmPlatformPkg/Scripts/Ds5: Added missing package declarations in Python scripts
oliviermartin [Mon, 22 Oct 2012 15:45:10 +0000 (15:45 +0000)]
ArmPlatformPkg/Scripts/Ds5: Added missing package declarations in Python scripts

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

11 years agoArmPlatformPkg/Scripts/Ds5: Updated DS-5 scripts to be used by DS-5 v5.12
oliviermartin [Mon, 22 Oct 2012 14:04:47 +0000 (14:04 +0000)]
ArmPlatformPkg/Scripts/Ds5: Updated DS-5 scripts to be used by DS-5 v5.12

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

11 years agoArmPlatformPkg/Scripts: Added ARM DS-5 scripts to debug UEFI
oliviermartin [Mon, 22 Oct 2012 14:01:38 +0000 (14:01 +0000)]
ArmPlatformPkg/Scripts: Added ARM DS-5 scripts to debug UEFI

These scripts allow to automatically load the symbols using either the
report file created by the BaseTools or using the memory regions
defined in the arguments.

This is the scripts for DS-5 prior to DS5 v5.12.

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

11 years ago Remove TPM selftest on S3 boot path to save time
czhang46 [Mon, 22 Oct 2012 04:35:59 +0000 (04:35 +0000)]
 Remove TPM selftest on S3 boot path to save time

Signed-off-by : Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by   : Dong Guo   <guo.dong@intel.com>
Reviewed-by   : Yao Jiewen <jieweng.yao@intel.com>

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

11 years agoEmbeddedPkg/MmcDxe: Ensure MMC is in Identification Mode
oliviermartin [Fri, 19 Oct 2012 09:47:49 +0000 (09:47 +0000)]
EmbeddedPkg/MmcDxe: Ensure MMC is in Identification Mode

This change ensure the MMC card is in Identification Mode.
The card might be in Data Transfer Mode if a pre UEFI Boot Loader
had initialized the card.
A potential optimization would be to skip the Identification Mode
in this case.

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

11 years agoFix a bug that causes GCC build failure.
niruiyu [Fri, 19 Oct 2012 00:00:35 +0000 (00:00 +0000)]
Fix a bug that causes GCC build failure.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-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@13870 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix a bug that incorrectly uses && instead of !! in IsKeyOptionVariable().
niruiyu [Thu, 18 Oct 2012 23:52:37 +0000 (23:52 +0000)]
Fix a bug that incorrectly uses && instead of !! in IsKeyOptionVariable().

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-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@13869 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg: QemuBootOrder: recognize virtio-scsi devices
jljusten [Thu, 18 Oct 2012 17:08:01 +0000 (17:08 +0000)]
OvmfPkg: QemuBootOrder: recognize virtio-scsi devices

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

11 years agoOvmfPkg: introduce virtio-scsi driver
jljusten [Thu, 18 Oct 2012 17:07:48 +0000 (17:07 +0000)]
OvmfPkg: introduce virtio-scsi driver

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
[jordan.l.justen@intel.com: fix build for VS2012]
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@13867 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg: VirtioBlkDriverBindingStop: fix incorrect use of UEFI driver model
jljusten [Thu, 18 Oct 2012 17:07:24 +0000 (17:07 +0000)]
OvmfPkg: VirtioBlkDriverBindingStop: fix incorrect use of UEFI driver model

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

11 years agoArmPlatformPkg/BaseTools-Pending-Patches.patch: Added latest ARMGCC & ARMLINUXGCC...
oliviermartin [Thu, 18 Oct 2012 16:27:14 +0000 (16:27 +0000)]
ArmPlatformPkg/BaseTools-Pending-Patches.patch: Added latest ARMGCC & ARMLINUXGCC updated flags

All these changes are already in BaseTools subversion repository.

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

11 years agoFix coding style issue in CryptoPkg.
tye1 [Thu, 18 Oct 2012 09:09:36 +0000 (09:09 +0000)]
Fix coding style issue in CryptoPkg.

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

11 years agoUse %lx to print UINT64 value instead of %x.
niruiyu [Thu, 18 Oct 2012 08:41:56 +0000 (08:41 +0000)]
Use %lx to print UINT64 value instead of %x.

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

11 years agoFix a bug that BCFG creates Key#### variable bigger than it should be.
niruiyu [Thu, 18 Oct 2012 07:32:42 +0000 (07:32 +0000)]
Fix a bug that BCFG creates Key#### variable bigger than it should be.

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

11 years agoRemove the KeyOrder variable dependency from BDS
niruiyu [Thu, 18 Oct 2012 07:31:49 +0000 (07:31 +0000)]
Remove the KeyOrder variable dependency from BDS

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

11 years agoAdd manual configured gateway address back after system reset.
tye1 [Wed, 17 Oct 2012 08:41:49 +0000 (08:41 +0000)]
Add manual configured gateway address back after system reset.

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

11 years ago1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option...
sfu5 [Wed, 17 Oct 2012 08:23:41 +0000 (08:23 +0000)]
1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option on the different IP stack is selected.
2. Retrieve the IP information after iSCSI TCPv6 connection established and fill it into iBFT table.
3. Generate a random IAID for each NIC port to require different IPv6 address in PXE driver.
4. Update function EfiMtftp6Configure() and Mtftp6RrqHandleOack() to allocate at most one UdpIo.
5. Fix a typo from “destory” to “destroy” in network code.

Signed-off-by: Fu Siyuan <siyuan.fu@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@13859 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix a bug in OpensslLib that PKCS7_verify will use over 8k stack space.
sfu5 [Wed, 17 Oct 2012 08:17:33 +0000 (08:17 +0000)]
Fix a bug in OpensslLib that PKCS7_verify will use over 8k stack space.

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

11 years agoFix buffer overflow issue in Consplitter.
li-elvin [Wed, 17 Oct 2012 06:07:27 +0000 (06:07 +0000)]
Fix buffer overflow issue in Consplitter.

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

11 years agoFix code potential errors in IPsec.
qianouyang [Wed, 17 Oct 2012 05:46:53 +0000 (05:46 +0000)]
Fix code potential errors in IPsec.

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

11 years agoFix ECC issue.
li-elvin [Wed, 17 Oct 2012 05:45:57 +0000 (05:45 +0000)]
Fix ECC issue.

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

11 years agoRemove useless MD5 OID ASN.1 value from DxeImageVerificationLib.
tye1 [Wed, 17 Oct 2012 02:26:11 +0000 (02:26 +0000)]
Remove useless MD5 OID ASN.1 value from DxeImageVerificationLib.

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

11 years agoAdd SPC_INDIRECT_DATA_OBJID check to make sure contentType equals to the
tye1 [Wed, 17 Oct 2012 02:13:54 +0000 (02:13 +0000)]
Add SPC_INDIRECT_DATA_OBJID check to make sure contentType equals to the
specific value defined in Authenticode PE specification.

Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by:Dong Guo <guo.dong@intel.com>

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

11 years agoFix code potential errors.
ydong10 [Tue, 16 Oct 2012 09:27:49 +0000 (09:27 +0000)]
Fix code potential errors.

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

11 years agoFix a typo in comments.
ydong10 [Tue, 16 Oct 2012 09:26:32 +0000 (09:26 +0000)]
Fix a typo in comments.

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

11 years agoUpdate SmiManager() to invoke all root SMI handlers to following PI Spec.
vanjeff [Tue, 16 Oct 2012 08:57:52 +0000 (08:57 +0000)]
Update SmiManager() to invoke all root SMI handlers to following PI Spec.

signed-off-by: Jeff Fan <jeff.fan@intel.com>
reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

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

11 years agoChange TPM ACCESS_X.activeLocality test timeout to TIMEOUT_A
czhang46 [Tue, 16 Oct 2012 02:58:08 +0000 (02:58 +0000)]
Change TPM ACCESS_X.activeLocality test timeout to TIMEOUT_A

Signed-off-by : chao zhang<chao.b.zhang@intel.com>
Reviewed-by   : dong guo  <guo.dong@intel.com>

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

11 years agoFix time-based and count-based authenticated variable can be updated by each other...
gdong1 [Mon, 15 Oct 2012 06:08:22 +0000 (06:08 +0000)]
Fix time-based and count-based authenticated variable can be updated by each other without verification.

Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-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@13848 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/VirtioBlkDxe: Fix VS2012 IA32 build
jljusten [Sun, 14 Oct 2012 21:17:33 +0000 (21:17 +0000)]
OvmfPkg/VirtioBlkDxe: Fix VS2012 IA32 build

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

11 years agoOvmfPkg: VirtioBlkDxe: fix div & mod of 64-bit dividends on IA32/gcc-4.4
jljusten [Sun, 14 Oct 2012 21:17:20 +0000 (21:17 +0000)]
OvmfPkg: VirtioBlkDxe: fix div & mod of 64-bit dividends on IA32/gcc-4.4

OvmfPkg/VirtioBlkDxe/VirtioBlk.c:667: undefined reference to `__umoddi3'
OvmfPkg/VirtioBlkDxe/VirtioBlk.c:750: undefined reference to `__udivdi3'

These operations would come from libgcc in the IA32 build, but OVMF does not
link against libgcc.

Regression-tested the X64 build with Fedora 18 Alpha XFCE and Windows 8
Consumer Preview guests.

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

11 years agoOvmfPkg: MSVC build fixes for VirtioLib and VirtioBlkDxe
jljusten [Fri, 12 Oct 2012 18:54:52 +0000 (18:54 +0000)]
OvmfPkg: MSVC build fixes for VirtioLib and VirtioBlkDxe

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

11 years agoOvmfPkg: librarize reusable bits from VirtioBlkDxe's SynchronousRequest()
jljusten [Fri, 12 Oct 2012 18:54:35 +0000 (18:54 +0000)]
OvmfPkg: librarize reusable bits from VirtioBlkDxe's SynchronousRequest()

new VirtioLib functions:
- VirtioPrepare(): prepare for appending descriptors
- VirtioFlush(): submit descriptor chain and await host answer

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

11 years agoOvmfPkg: rename AppendDesc to VirtioAppendDesc
jljusten [Fri, 12 Oct 2012 18:54:17 +0000 (18:54 +0000)]
OvmfPkg: rename AppendDesc to VirtioAppendDesc

AppendDesc() should have a prefix implying its containing library,
VirtioLib. Update its sole client VirtioBlkDxe.

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

11 years agoOvmfPkg: extract VirtioLib from VirtioBlkDxe
jljusten [Fri, 12 Oct 2012 18:53:58 +0000 (18:53 +0000)]
OvmfPkg: extract VirtioLib from VirtioBlkDxe

Introduce a new library called VirtioLib, for now only collecting the
following reusable functions with as little changes as possible:

- VirtioWrite()
- VirtioRead()
- VirtioRingInit()
- VirtioRingUninit()
- AppendDesc()

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

11 years agoOvmfPkg: Include/IndustryStandard: extract VirtioBlk.h from Virtio.h
jljusten [Fri, 12 Oct 2012 18:53:36 +0000 (18:53 +0000)]
OvmfPkg: Include/IndustryStandard: extract VirtioBlk.h from Virtio.h

Separate virtio-blk related macro and type definitions from generic virtio
related ones. Adapt the virtio-blk driver since it needs the latter too.

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

11 years agoOvmfPkg: rename OFFSET_OF_VHDR() / SIZE_OF_VHDR() to *_OF_VBLK()
jljusten [Fri, 12 Oct 2012 18:53:20 +0000 (18:53 +0000)]
OvmfPkg: rename OFFSET_OF_VHDR() / SIZE_OF_VHDR() to *_OF_VBLK()

since they are in fact virtio-blk specific.

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

11 years agoOvmfPkg: regroup virtio config fields into generic & specific structs
jljusten [Fri, 12 Oct 2012 18:53:06 +0000 (18:53 +0000)]
OvmfPkg: regroup virtio config fields into generic & specific structs

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

11 years agoOvmfPkg: IndustryStandard/Virtio.h: use OFFSET_OF in OFFSET_OF_VHDR
jljusten [Fri, 12 Oct 2012 18:52:50 +0000 (18:52 +0000)]
OvmfPkg: IndustryStandard/Virtio.h: use OFFSET_OF in OFFSET_OF_VHDR

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

11 years agoOvmfPkg: add inclusion guards in Include/IndustryStandard/Virtio.h
jljusten [Fri, 12 Oct 2012 18:52:37 +0000 (18:52 +0000)]
OvmfPkg: add inclusion guards in Include/IndustryStandard/Virtio.h

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

11 years agoOvmfPkg: move VirtioBlkDxe/Virtio.h to Include/IndustryStandard/Virtio.h
jljusten [Fri, 12 Oct 2012 18:52:24 +0000 (18:52 +0000)]
OvmfPkg: move VirtioBlkDxe/Virtio.h to Include/IndustryStandard/Virtio.h

This commit consists of:
- a verbatim move ("similarity index 100%" in git parlance),
- an updated #include directive in VirtioBlkDxe/VirtioBlk.h,
- and an OvmfPkg.dec package entry in VirtioBlkDxe/VirtioBlk.inf, so that
  the new include directory is searched.

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

11 years agoOvmfPkg: add inclusion guards to VirtioBlkDxe/VirtioBlk.h
jljusten [Fri, 12 Oct 2012 18:52:05 +0000 (18:52 +0000)]
OvmfPkg: add inclusion guards to VirtioBlkDxe/VirtioBlk.h

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

11 years agoStdLib: Reverse a previous change resulting in string pointers that were not being...
darylm503 [Fri, 12 Oct 2012 17:58:30 +0000 (17:58 +0000)]
StdLib: Reverse a previous change resulting in string pointers that were not being incremented sufficiently to accommodate the terminating NUL.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: Fernandes, Cristiano <cristiano.fernandes@hp.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13834 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoPAL_LOGICAL_PROCESSPR_OVERVIEW structure was incorrectly defined. And PAL_MC_ERROR_TY...
li-elvin [Fri, 12 Oct 2012 06:13:33 +0000 (06:13 +0000)]
PAL_LOGICAL_PROCESSPR_OVERVIEW structure was incorrectly defined. And PAL_MC_ERROR_TYPE_INFO has new fields defined per the latest Itanium developer manual.

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

11 years agoRoll back r13823.
vanjeff [Thu, 11 Oct 2012 09:19:59 +0000 (09:19 +0000)]
Roll back r13823.

signed-off-by: Jeff Fan <jeff.fan@intel.com>

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

11 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13823 6f19259b...
vanjeff [Thu, 11 Oct 2012 09:10:37 +0000 (09:10 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13823 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd PcdFastPS2Detection to improve PS2 keyboard driver start performance.
li-elvin [Thu, 11 Oct 2012 07:01:22 +0000 (07:01 +0000)]
Add PcdFastPS2Detection to improve PS2 keyboard driver start performance.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Yao Jiewen<jiewen.yao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13820 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate header format
hhtian [Thu, 11 Oct 2012 04:59:05 +0000 (04:59 +0000)]
Update header format

Signed-off-by: Hot Tian <hot.tian@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13819 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate license statement
hhtian [Thu, 11 Oct 2012 04:57:04 +0000 (04:57 +0000)]
Update license statement

Signed-off-by: Hot Tian <hot.tian@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13818 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing braces around initializer.
lzeng14 [Thu, 11 Oct 2012 02:15:23 +0000 (02:15 +0000)]
Add missing braces around initializer.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Qian Ouyang <qian.ouyang@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing parameter in functions header.
vanjeff [Wed, 10 Oct 2012 07:39:01 +0000 (07:39 +0000)]
Add missing parameter in functions header.

signed-off-by: Jeff Fan <jeff.fan@intel.com>

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

11 years agoFix some corner case for LazyConIn feature
czhang46 [Wed, 10 Oct 2012 07:29:45 +0000 (07:29 +0000)]
Fix some corner case for LazyConIn feature

Signed-off-by: chao zhang <chao.b.zhang@intel.com>
Reviewed-by  : Ni Ruiyu   <ruiyu.ni@intel.com>

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

11 years agoMdeModulePkg/UsbBusDxe: Timing tunning for better boot performance.
erictian [Wed, 10 Oct 2012 02:46:06 +0000 (02:46 +0000)]
MdeModulePkg/UsbBusDxe: Timing tunning for better boot performance.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13809 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd missing SocketIdentifier for Memory Topology table in ACPI5.0.
jyao1 [Tue, 9 Oct 2012 02:03:17 +0000 (02:03 +0000)]
Add missing SocketIdentifier for Memory Topology table in ACPI5.0.

signed-off-by: jiewen.yao@intel.com
reviewed-by: jeff.fan@intel.com

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

11 years agoPoll the network adapter during connect
lpleahy [Mon, 8 Oct 2012 22:02:23 +0000 (22:02 +0000)]
Poll the network adapter during connect

Signed-off-by: lpleahy
Reviewed-by: Dell, Sreenivasula Reddy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13803 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixed close for socket to properly release the socket context structure and the handle.
lpleahy [Mon, 8 Oct 2012 21:39:35 +0000 (21:39 +0000)]
Fixed close for socket to properly release the socket context structure and the handle.

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

11 years agoOvmfPkg: QemuBootOrder: recognize virtio-blk OFW device paths
jljusten [Mon, 8 Oct 2012 07:33:37 +0000 (07:33 +0000)]
OvmfPkg: QemuBootOrder: recognize virtio-blk OFW device paths

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

11 years agoOvmfPkg: QemuBootOrder: lower the required number of OFW nodes to 2
jljusten [Mon, 8 Oct 2012 07:33:25 +0000 (07:33 +0000)]
OvmfPkg: QemuBootOrder: lower the required number of OFW nodes to 2

2 nodes in an OpenFirmware device path are sufficient for the generic
check at the beginning of TranslateOfwNodes(). The driver specific
branches check for the necessary nodes individually.

The number of nodes saved for examination is unchanged.

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

11 years agoOvmfPkg: QemuBootOrder: whitespace fix
jljusten [Mon, 8 Oct 2012 07:33:12 +0000 (07:33 +0000)]
OvmfPkg: QemuBootOrder: whitespace fix

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

11 years agoOvmfPkg: introduce virtio-blk driver
jljusten [Mon, 8 Oct 2012 07:32:59 +0000 (07:32 +0000)]
OvmfPkg: introduce virtio-blk driver

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

11 years agoMdePkg: Fix incorrect SPCR definitions for 115200 and 57600 baud rate
jyao1 [Mon, 8 Oct 2012 03:30:56 +0000 (03:30 +0000)]
MdePkg: Fix incorrect SPCR definitions for 115200 and 57600 baud rate

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com
Reviewed-by: Jiewen.yao@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13790 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMove GOP and UGA draw from Consplitter entrypoint to start(). When there is one real...
li-elvin [Mon, 8 Oct 2012 02:34:33 +0000 (02:34 +0000)]
Move GOP and UGA draw from Consplitter entrypoint to start(). When there is one real physical graphics device in system, Consplitter will expose GOP/UGA protocol on the virtual handle. In addition, fix a obvious logic issue in GraphicsConsole.

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

11 years agoContributed-under: TianoCore Contribution Agreement 1.0
mdkinney [Fri, 5 Oct 2012 22:26:25 +0000 (22:26 +0000)]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
1) ShellPkg/Library/UefiHandleParsingLib
    a. UefiHandleParsingLib.c – ConvertHandleToHandleIndex() and ConvertHandleIndexToHandle()
        i. Update to work correctly when handles are destroyed due to driver disconnect operations.  Same handle index is never reused.
    b. UefiHandleParsingLib.c – ParseHandleDatabaseByRelationshipWithType() and ParseHandleDatabaseForChildControllers()
        i. Expand to handle Service Binding Protocol usage such as Network stack.
2) ShellPkg/Library/UefiShellDriver1CommandsLib
    a. DevTree.c – Fix bug where the same handle is shown more than once.
    b. Dh.c – Fix use of GetDriverName() and GetDriverImageName().  The status returned must always be evaluated.
    c. Disconnect.c – Remove requirement that a handle being disconnected must support Device Path Protocol.  This prevents driver model handles without device paths from being disconnected (i.e. Network Stack)
    d. OpenInfo.c – Fix bug when showing open info about a ControllerHandle that has been destroyed due to a disconnect or an unload operation.
    e. UefiShellDriver1CommandsLib.uni – Fix “drivers” command formatting when handle indexes have more than 2 characters.

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

11 years agoStdLib: Fix several problems where characters were not being correctly converted...
darylm503 [Fri, 5 Oct 2012 22:00:43 +0000 (22:00 +0000)]
StdLib: Fix several problems where characters were not being correctly converted between wide and MBCS.
        Add utility functions for determining character length of strings.

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
StdLib/LibC/
  Locale/multibyte_Utf8.c
    Improve comments.
    Define implementation-specific MBCS utility functions, as declared in <stdlib.h>.
    Enhance functionality of EncodeUtf8() and improve error handling.
    Set correct conversion state in wcrtomb().
    Bug fixes in wcsrtombs().
    Make wctob() properly MBCS compliant.

  Main/Main.c
    Remove code obsoleted by new wcsrtombs() implementation.

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