]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
11 years agoUnixPkg/Sec: Fixed build
oliviermartin [Thu, 26 Jul 2012 09:16:01 +0000 (09:16 +0000)]
UnixPkg/Sec: Fixed build

IntelFrameworkModulePkg.dec is required to define gEfiIntelFrameworkModulePkgTokenSpaceGuid.Pcd*
in DSC file.

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

11 years agoMdeModulePkg/CoreDxe: Fixed compiler warning 'integer conversion resulted in a change...
oliviermartin [Thu, 26 Jul 2012 09:12:46 +0000 (09:12 +0000)]
MdeModulePkg/CoreDxe: Fixed compiler warning 'integer conversion resulted in a change of sign'

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

11 years agoFix build fail for GCC
ydong10 [Thu, 26 Jul 2012 07:44:26 +0000 (07:44 +0000)]
Fix build fail for GCC

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

11 years agoFixed issues:
ydong10 [Thu, 26 Jul 2012 07:15:31 +0000 (07:15 +0000)]
Fixed issues:
1.Refine the logic about show different attribute.
2.Refine the logic about allocate memory for variable name and data.

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

11 years agoRoll back the change which caused build fail
ydong10 [Thu, 26 Jul 2012 05:42:43 +0000 (05:42 +0000)]
Roll back the change which caused build fail

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

11 years agoFix a failure in TCG HashAll interface.
gdong1 [Thu, 26 Jul 2012 05:17:35 +0000 (05:17 +0000)]
Fix a failure in TCG HashAll interface.

signed-off by Tao Hengyan <hengyan.tao@intel.com>
reviewed by Dong Guo <guo.dong@intel.com>
reviewed by Long Qin <qin.long@intel.com>

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

11 years agoEnhance TCG driver to provide TPM physical presence lifetime lock capability.
gdong1 [Thu, 26 Jul 2012 05:11:47 +0000 (05:11 +0000)]
Enhance TCG driver to provide TPM physical presence lifetime lock capability.

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

11 years agoFix the typo in InstallMultipleProtocolInterfaces comments
niruiyu [Wed, 25 Jul 2012 06:45:49 +0000 (06:45 +0000)]
Fix the typo in InstallMultipleProtocolInterfaces comments

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

11 years agoUse RsaGetPublicKeyFromX509() to validate the given X.509 certificate for PK/KEK...
sfu5 [Wed, 25 Jul 2012 02:01:58 +0000 (02:01 +0000)]
Use RsaGetPublicKeyFromX509() to validate the given X.509 certificate for PK/KEK/db/dbx database.

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

11 years agoCorrect a typo in EFI_EDID_ACTIVE_PROTOCOL and EFI_EDID_DISCOVERED_PROTOCOL comments.
niruiyu [Tue, 24 Jul 2012 07:17:24 +0000 (07:17 +0000)]
Correct a typo in EFI_EDID_ACTIVE_PROTOCOL and EFI_EDID_DISCOVERED_PROTOCOL comments.

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

11 years agoOvmfPkg: introduce QemuFwCfgFindFile ()
jljusten [Mon, 23 Jul 2012 17:10:29 +0000 (17:10 +0000)]
OvmfPkg: introduce QemuFwCfgFindFile ()

Tested with the "bootorder" fw_cfg file. Example contents (leading space
added and line terminators transcribed for readability):

  /pci@i0cf8/ide@1,1/drive@0/disk@0<LF>
  /pci@i0cf8/ide@1,1/drive@1/disk@0<LF>
  /pci@i0cf8/ethernet@3/ethernet-phy@0<NUL>

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

11 years agoShellPkg: Update string to number conversion to correctly stop at spaces if so requested.
jcarsey [Mon, 23 Jul 2012 16:32:09 +0000 (16:32 +0000)]
ShellPkg: Update string to number conversion to correctly stop at spaces if so requested.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jaben carsey <jaben.carsey@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13548 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd logic to check the execution break flag before executing the next command in...
ydong10 [Mon, 23 Jul 2012 03:17:09 +0000 (03:17 +0000)]
Add logic to check the execution break flag before executing the next command in a script file.

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

11 years agoUpdate the secure boot configuration UI to accept *.crt certificate file.
sfu5 [Mon, 23 Jul 2012 01:03:53 +0000 (01:03 +0000)]
Update the secure boot configuration UI to accept *.crt certificate file.

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

11 years agoAdd more security check for CommBuffer+CommBufferSize.
jyao1 [Mon, 23 Jul 2012 00:59:26 +0000 (00:59 +0000)]
Add more security check for CommBuffer+CommBufferSize.

signed off by: jiewen.yao@intel.com
reviewed by: rui.sun@intel.com
reviewed by: michael.d.kinney@intel.com

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

11 years agoAdjust library instances used in SecurityPkg by proper module type.
tye1 [Fri, 20 Jul 2012 03:36:21 +0000 (03:36 +0000)]
Adjust library instances used in SecurityPkg by proper module type.
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@13544 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/AcpiPlatformDxe: rely on built-in checksumming
jljusten [Wed, 18 Jul 2012 22:34:01 +0000 (22:34 +0000)]
OvmfPkg/AcpiPlatformDxe: rely on built-in checksumming

Implementation in
"MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c":

  InstallAcpiTable()
    SetAcpiTable(... Checksum=TRUE ...)
      AddTableToList(... Checksum=TRUE ...)
        AcpiPlatformChecksum()

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

11 years agoOvmfPkg/AcpiPlatformDxe/Xen.c: reuse CalculateSum8
jljusten [Wed, 18 Jul 2012 22:33:48 +0000 (22:33 +0000)]
OvmfPkg/AcpiPlatformDxe/Xen.c: reuse CalculateSum8

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

11 years agoOvmfPkg/AcpiPlatformDxe: Add Xen ACPI tables support
jljusten [Wed, 18 Jul 2012 22:33:33 +0000 (22:33 +0000)]
OvmfPkg/AcpiPlatformDxe: Add Xen ACPI tables support

This patch adds Xen ACPI tables support to OVMF.
Use EFI_ACPI_TABLE_PROTOCOL to publish all Xen ACPI tables in OVMF,
while keeping the Qemu and KVM support.

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

11 years agoStdLib/LibC/Uefi/Devices/Console/daConsole.c: Fix bug where unconvertable wide chara...
darylm503 [Wed, 18 Jul 2012 18:23:25 +0000 (18:23 +0000)]
StdLib/LibC/Uefi/Devices/Console/daConsole.c:  Fix bug where unconvertable wide characters would cause the code to hang or generate an exception.

When the WideTtyCvt() function encountered an unconvertable character, it properly replaced it but did not update the byte count, numB, to 1 and instead left it at -1.

This fix sets numB to 1 when an unconvertable character is replaced.

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

11 years agoAdd interfaces to several library instances of BaseCryptLib.
tye1 [Wed, 18 Jul 2012 09:32:05 +0000 (09:32 +0000)]
Add interfaces to several library instances of BaseCryptLib.

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

11 years agoTo follow UEFI spec, update the code to make correct check to support multiple _ADR...
li-elvin [Wed, 18 Jul 2012 06:21:08 +0000 (06:21 +0000)]
To follow UEFI spec, update the code to make correct check to support multiple _ADR fields.

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

11 years agoAdded secure boot in CSM module entrypoint, if UEFI secure boot is enabled, CSM modul...
li-elvin [Tue, 17 Jul 2012 09:25:26 +0000 (09:25 +0000)]
Added secure boot in CSM module entrypoint, if UEFI secure boot is enabled, CSM module cannot be started.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13537 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Remove extra attribute for SetupMode, SignatureSupport and SecureBoot variable.
sfu5 [Tue, 17 Jul 2012 08:38:58 +0000 (08:38 +0000)]
1. Remove extra attribute for SetupMode, SignatureSupport and SecureBoot variable.
2. Allow the PK owner to update db/dbx variable directly.

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

11 years agoReturn EFI_UNSUPPORTED if READY_TO_BOOT function is invoked at SMM runtime.
sfu5 [Tue, 17 Jul 2012 08:21:42 +0000 (08:21 +0000)]
Return EFI_UNSUPPORTED if READY_TO_BOOT function is invoked at SMM runtime.

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

11 years agoFix a buffer overflow bug in VariableSmm driver.
sfu5 [Tue, 17 Jul 2012 08:07:29 +0000 (08:07 +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@13534 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate HobLib and Hob Service to avoid data over flow.
lgao4 [Tue, 17 Jul 2012 01:51:26 +0000 (01:51 +0000)]
Update HobLib and Hob Service to avoid data over flow.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Rui Sun <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13533 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate HobLib and Hob Service to avoid data over flow.
lgao4 [Tue, 17 Jul 2012 01:50:52 +0000 (01:50 +0000)]
Update HobLib and Hob Service to avoid data over flow.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Rui Sun <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13532 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoVerify the provided PKpub is signed with its private key when enrolling a new PK...
sfu5 [Fri, 13 Jul 2012 06:12:58 +0000 (06:12 +0000)]
Verify the provided PKpub is signed with its private key when enrolling a new PK variable in setup mode.

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

11 years agoAdd SMRAM range check to variable SMM SMI handler.
czhang46 [Fri, 13 Jul 2012 05:15:06 +0000 (05:15 +0000)]
Add SMRAM range check to variable SMM SMI handler.

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

11 years agoRemove unused CapsuleReset() in MdeModulePkg\Universal\ResetSystemRuntimeDxe\ResetSys...
lzeng14 [Fri, 13 Jul 2012 03:20:28 +0000 (03:20 +0000)]
Remove unused CapsuleReset() in MdeModulePkg\Universal\ResetSystemRuntimeDxe\ResetSystem.c.

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

11 years agoArmPkg/CompilerIntrinsicsLib: Added missing __aeabi_uread8 and __aeabi_uwrite8
oliviermartin [Thu, 12 Jul 2012 18:00:36 +0000 (18:00 +0000)]
ArmPkg/CompilerIntrinsicsLib: Added missing __aeabi_uread8 and __aeabi_uwrite8

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

11 years agoClean up include of ACPI header file so that only IndustryStandard/Acpi.h is needed...
lzeng14 [Thu, 12 Jul 2012 06:18:22 +0000 (06:18 +0000)]
Clean up include of ACPI header file so that only IndustryStandard/Acpi.h is needed for supported ACPI version(e.g. Acpi40.h, Acpi50.h).

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

11 years agoFix a bug in DxeImageVerificationLib which will pass incorrect trust cert size to...
sfu5 [Thu, 12 Jul 2012 01:13:37 +0000 (01:13 +0000)]
Fix a bug in DxeImageVerificationLib which will pass incorrect trust cert size to AuthenticodeVerify() function.

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

11 years agoUpdate the secure boot configuration UI to accept *.der certificate file as the Platf...
sfu5 [Thu, 12 Jul 2012 01:09:00 +0000 (01:09 +0000)]
Update the secure boot configuration UI to accept *.der certificate file as the Platform Key.

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

11 years agoShellPkg: update pci enumeration routine for platforms with multiple pci segments.
jcarsey [Wed, 11 Jul 2012 19:08:40 +0000 (19:08 +0000)]
ShellPkg: update pci enumeration routine for platforms with multiple pci segments.

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

11 years agoArmPlatformPkg/ArmVExpressLibCTA9x4: Fixed build
oliviermartin [Wed, 11 Jul 2012 18:57:31 +0000 (18:57 +0000)]
ArmPlatformPkg/ArmVExpressLibCTA9x4: Fixed build

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

11 years agoOvmfPkg BDS: Remove support for loading vgabios-cirrus.bin from 0xc0000
jljusten [Tue, 10 Jul 2012 22:43:42 +0000 (22:43 +0000)]
OvmfPkg BDS: Remove support for loading vgabios-cirrus.bin from 0xc0000

Older QEMU versions would load vgabios-cirrus.bin at 0xc0000 in
system RAM. We would then find this ROM, and try to run it, since
it would be our QEMU Video driver.

Now, the QEMU Video driver is just merged into the main OVMF
firmware image, so this support is unused.

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

11 years agoaccept "-n THREADNUMBER" in OvmfPkg build script
jljusten [Tue, 10 Jul 2012 22:43:30 +0000 (22:43 +0000)]
accept "-n THREADNUMBER" in OvmfPkg build script

v1->v2:
- change from "-j JOBS"

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

11 years agoembed OvmfVideo.rom into OVMF.fd
jljusten [Tue, 10 Jul 2012 22:43:19 +0000 (22:43 +0000)]
embed OvmfVideo.rom into OVMF.fd

This enables qemu to use OVMF with a single -bios option. Based on
<http://lists.xen.org/archives/html/xen-devel/2012-03/msg01992.html>.

v1->v2:
- move xen-devel link from code to commit message
- cover all three FDF files

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: remove vgabios-cirrus.bin from build.sh/README]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13520 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoincrease MEMFD size to enable secure boot build
jljusten [Tue, 10 Jul 2012 22:43:05 +0000 (22:43 +0000)]
increase MEMFD size to enable secure boot build

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

11 years agoAdd SMRAM range check to fault tolerant write SMM SMI handler.
ydong10 [Tue, 10 Jul 2012 08:09:09 +0000 (08:09 +0000)]
Add SMRAM range check to fault tolerant write SMM SMI handler.

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

11 years agoDuetPkg DuetPkgIa32.dsc & DuetPkgX64.dsc: Add library class and instance mapping...
rsun3 [Tue, 10 Jul 2012 04:57:44 +0000 (04:57 +0000)]
DuetPkg DuetPkgIa32.dsc & DuetPkgX64.dsc: Add library class and instance mapping for UefiCpuLib after UefiCpuPkg\CpuDxe consumes UefiCpuLib.

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

11 years agoEmbeddedPkg/EmbeddedPkg.dec: Add missing PcdMetronomeTickPeriod PCD
oliviermartin [Mon, 9 Jul 2012 19:45:32 +0000 (19:45 +0000)]
EmbeddedPkg/EmbeddedPkg.dec: Add missing PcdMetronomeTickPeriod PCD

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

11 years agoReset the platform when user choose to enroll/delete the PK variable.
sfu5 [Mon, 9 Jul 2012 09:17:00 +0000 (09:17 +0000)]
Reset the platform when user choose to enroll/delete the PK variable.

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

11 years agoAdd SMRAM range check to variable SMM SMI handler.
czhang46 [Mon, 9 Jul 2012 08:26:35 +0000 (08:26 +0000)]
Add SMRAM range check to variable SMM SMI handler.

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

11 years agoDefer TCG table publish after LASA/LAML in the table got updated.
gdong1 [Mon, 9 Jul 2012 03:22:21 +0000 (03:22 +0000)]
Defer TCG table publish after LASA/LAML in the table got updated.

signed-off by Tao Hengyan <hengyan.tao@intel.com>
reviewed by Dong Guo <guo.dong@intel.com>
reviewed by Hot Tian <hot.tian@intel.com>

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

11 years agoInclude read data buffer in CommBufferSize when calculate the buffer size.
ydong10 [Mon, 9 Jul 2012 02:03:47 +0000 (02:03 +0000)]
Include read data buffer in CommBufferSize when calculate the buffer size.

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

11 years agoUefiCpuPkg CpuDxe: Call UefiCpuLib.InitializeFloatingPointUnits () to initialize...
rsun3 [Fri, 6 Jul 2012 05:49:53 +0000 (05:49 +0000)]
UefiCpuPkg CpuDxe: Call UefiCpuLib.InitializeFloatingPointUnits () to initialize X87 FPU Control Word for BSP.

For a platform tip with 32-bit PEI+64-bit DXE, InitializeFloatingPointUnits () should be called for BSP in the DXE phase.

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

11 years agoMdeModulePkg/Ata: add dynamic type to PcdAtaSmartEnable
erictian [Fri, 6 Jul 2012 05:29:25 +0000 (05:29 +0000)]
MdeModulePkg/Ata: add dynamic type to PcdAtaSmartEnable

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

11 years agoWhen do discard action, enable callback action for questions which have value changed.
ydong10 [Fri, 6 Jul 2012 02:27:33 +0000 (02:27 +0000)]
When do discard action, enable callback action for questions which have value changed.

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

11 years agoRefine the message for Reset request.
ydong10 [Fri, 6 Jul 2012 01:51:43 +0000 (01:51 +0000)]
Refine the message for Reset request.

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

11 years agoUpdate the logic to force user to reset when change configuration which need to reset.
ydong10 [Fri, 6 Jul 2012 00:59:08 +0000 (00:59 +0000)]
Update the logic to force user to reset when change configuration which need to reset.

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

11 years agoUefiCpuPkg BaseUefiCpuLib: Change the initialization value for x87 FPU Control Word...
rsun3 [Thu, 5 Jul 2012 08:44:57 +0000 (08:44 +0000)]
UefiCpuPkg BaseUefiCpuLib: Change the initialization value for x87 FPU Control Word for x64 arch from 0x27f to 0x37f per UEFI 2.3.1c 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@13506 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Reset system when user changes secure boot state in secure boot configuration...
sfu5 [Thu, 5 Jul 2012 08:08:12 +0000 (08:08 +0000)]
1. Reset system when user changes secure boot state in secure boot configuration form.
2. Update the method to detect secure boot state in DxeImageVerificationLib and secure boot configuration driver.

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

11 years agoUpdate header file to match UEFI231B mantis 771, 850, 853 and 857.
lgao4 [Thu, 5 Jul 2012 04:52:43 +0000 (04:52 +0000)]
Update header file to match UEFI231B mantis 771, 850, 853 and 857.

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

11 years agoArmPkg/BdsLib: Fixed cache cleaning in PreparePlatformHardware()
oliviermartin [Wed, 4 Jul 2012 20:24:25 +0000 (20:24 +0000)]
ArmPkg/BdsLib: Fixed cache cleaning in PreparePlatformHardware()

Because the D&I caches were clean before to be disabled, the cache
lines might have got dirty during the cache maintenance operations.
This fix disables D&I caches before to clean them. The performance
drops should be minimised as invalidating the I cache is only a
couple of instruction.

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

11 years agoARM Packages: Fixed mispellings
oliviermartin [Wed, 4 Jul 2012 20:23:21 +0000 (20:23 +0000)]
ARM Packages: Fixed mispellings

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

11 years agoArmPkg/SemihostFs: Fixed DataAbort in Semihosting File System
oliviermartin [Wed, 4 Jul 2012 20:22:02 +0000 (20:22 +0000)]
ArmPkg/SemihostFs: Fixed DataAbort in Semihosting File System

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

11 years agoArmPkg/BdsLib: Fixed ShutdownUefiBootServices() in case the first gBS->GetMemoryMap...
oliviermartin [Wed, 4 Jul 2012 20:21:13 +0000 (20:21 +0000)]
ArmPkg/BdsLib: Fixed ShutdownUefiBootServices() in case the first gBS->GetMemoryMap() was successful

If the first call of gBS->GetMemoryMap() succeeded (could happen if the Memory Map
has changed between the two gBS->GetMemoryMap() calls) in the loop block then
gBS->ExitBootServices() was never called.

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

11 years agoArmPlatformPkg/Sec: Fixed Primary Non-Cold Boot Path
oliviermartin [Wed, 4 Jul 2012 20:20:21 +0000 (20:20 +0000)]
ArmPlatformPkg/Sec: Fixed Primary Non-Cold Boot Path

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

11 years agoArmPkg/TimerDxe: Fixed incorrect TimerTicks calculation
oliviermartin [Wed, 4 Jul 2012 20:18:41 +0000 (20:18 +0000)]
ArmPkg/TimerDxe: Fixed incorrect TimerTicks calculation

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

11 years agoArmPlatformPkg/PrePi: Declared the ARM MP Core Info
oliviermartin [Wed, 4 Jul 2012 20:17:46 +0000 (20:17 +0000)]
ArmPlatformPkg/PrePi: Declared the ARM MP Core Info

Registered the gArmMpCoreInfoGuid Data Hob.

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

11 years agoArmPkg/BaseMemoryLibStm: Removed duplicated instruction in InternalMemSetMem()
oliviermartin [Wed, 4 Jul 2012 20:16:14 +0000 (20:16 +0000)]
ArmPkg/BaseMemoryLibStm: Removed duplicated instruction in InternalMemSetMem()

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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