]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
11 years agoUpdate MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to...
lgao4 [Wed, 16 May 2012 00:42:21 +0000 (00:42 +0000)]
Update MdePkg and EdkCompatibilityPkg INT8 definition to be typedef signed char to follow UEFI spec.
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13312 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg/UsbMassStorage: Add 16 byte SCSI cmds support if the last LBA can not...
erictian [Mon, 14 May 2012 07:50:07 +0000 (07:50 +0000)]
MdeModulePkg/UsbMassStorage: Add 16 byte SCSI cmds support if the last LBA can not be presented by 4bytes width

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

11 years agoUpdate auth-variable and secure boot UI driver to support only time-based PK, KEK...
sfu5 [Mon, 14 May 2012 07:36:20 +0000 (07:36 +0000)]
Update auth-variable and secure boot UI driver to support only time-based PK, KEK and Signature Database variable variable according to UEFI Spec requirement.

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

11 years agoEnhance TcgSmm driver to handle potential SetVariable failure case.
gdong1 [Fri, 11 May 2012 05:10:57 +0000 (05:10 +0000)]
Enhance TcgSmm driver to handle potential SetVariable failure case.

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>
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13309 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd logic to validate new input value with minimum.
ydong10 [Fri, 11 May 2012 03:09:07 +0000 (03:09 +0000)]
Add logic to validate new input value with minimum.

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

11 years agoThe code line where judges if offset exceed the FTW work space boundary, in some...
lzeng14 [Fri, 11 May 2012 01:48:45 +0000 (01:48 +0000)]
The code line where judges if offset exceed the FTW work space boundary, in some special situations where there are so many records, the offset may happen to be just equal to FtwWorkSpaceSize. And then FtwHead will be updated to be outside of work space wrongly, and cause the system to hang in this driver.

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

11 years agoEnhance the code logic for RelocateBlockDescriptors.
lzeng14 [Fri, 11 May 2012 01:44:14 +0000 (01:44 +0000)]
Enhance the code logic for RelocateBlockDescriptors.

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

11 years agoCurrently, CapsulePei assumes ScatterGatherList are all related. But, UEFI spec has...
lzeng14 [Fri, 11 May 2012 01:41:28 +0000 (01:41 +0000)]
Currently, CapsulePei assumes ScatterGatherList are all related. But, UEFI spec has no such requirement, ScatterGatherList may be standalone. So update CapsulePei to only ignore the invalid ScatterGatherList, and still keep the valid ScatterGatherList.

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

11 years agoMake sure CapsuleImage size is equal or less than DataBlock Size. And when copy the...
lzeng14 [Fri, 11 May 2012 01:37:23 +0000 (01:37 +0000)]
Make sure CapsuleImage size is equal or less than DataBlock Size. And when copy the Capsule data from DataBlock to the continuous memory, CapsuleImage size should be used instead of DataBlock.

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

11 years agoDestPtr may point to the lower aligned address in the free memory region (FreeMemBase...
lzeng14 [Fri, 11 May 2012 01:33:01 +0000 (01:33 +0000)]
DestPtr may point to the lower aligned address in the free memory region (FreeMemBase, FreeMemBase + FreeMemSize), the free memory region may be updated to override the private signature. So update FreeMemSize to avoid the potential overlap.

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

11 years agoUpdate CapsuleCoalesce() to return the correct size of the coalesced capsule include...
lzeng14 [Fri, 11 May 2012 01:27:59 +0000 (01:27 +0000)]
Update CapsuleCoalesce() to return the correct size of the coalesced capsule include PrivateData, CapsuleImageData, CapsuleNumber and CapsuleOffset array.

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

11 years agoEnhance the logic when extract data from storage.
ydong10 [Thu, 10 May 2012 08:00:22 +0000 (08:00 +0000)]
Enhance the logic when extract data from 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@13301 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse current time value as default random seed in BaseCryptLib.
tye1 [Thu, 10 May 2012 07:58:02 +0000 (07:58 +0000)]
Use current time value as default random seed in BaseCryptLib.

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

11 years agoFixes buffer read overflow bugs in authenticated variable driver.
sfu5 [Wed, 9 May 2012 10:45:09 +0000 (10:45 +0000)]
Fixes buffer read overflow bugs in authenticated variable 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@13298 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix always reboot issue for an invalid physical presence operation request.
gdong1 [Wed, 9 May 2012 08:24:29 +0000 (08:24 +0000)]
Fix always reboot issue for an invalid physical presence operation request.

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

11 years agoUse PartitionHeader->SizeOfPartitionEntry instead of sizeof (EFI_PARTITION_ENTRY).
niruiyu [Wed, 9 May 2012 05:21:43 +0000 (05:21 +0000)]
Use PartitionHeader->SizeOfPartitionEntry instead of sizeof (EFI_PARTITION_ENTRY).

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

11 years agoFix the potential issue that NULL pointer may be referred in LoadImage().
lgao4 [Tue, 8 May 2012 03:10:37 +0000 (03:10 +0000)]
Fix the potential issue that NULL pointer may be referred in LoadImage().

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

11 years agoEnhance ACPI FPDT DXE and SMM driver to accept the extension boot records.
lgao4 [Tue, 8 May 2012 03:09:54 +0000 (03:09 +0000)]
Enhance ACPI FPDT DXE and SMM driver to accept the extension boot records.

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

11 years agoRemoves redundant code and adds data size check for certificate data in DxeImageVerif...
tye1 [Tue, 8 May 2012 02:53:49 +0000 (02:53 +0000)]
Removes redundant code and adds data size check for certificate data in DxeImageVerificationLib.

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

11 years agoEnhance SmbiosDxe driver:
lzeng14 [Tue, 8 May 2012 01:33:23 +0000 (01:33 +0000)]
Enhance SmbiosDxe driver:
1. If string length exceeds 65535 bytes, return error. So infinite loop will not happen because of UINTN overflow.
2. When a SMBIOS entry is added or updated, check if the total length of SMBIOS table exceeds 65535 bytes, if it happens, return error.

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

11 years agoUpgrade openssl version to 0.98w.
tye1 [Mon, 7 May 2012 10:29:58 +0000 (10:29 +0000)]
Upgrade openssl version to 0.98w.

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

11 years agoFix memory leak issues.
ydong10 [Mon, 7 May 2012 08:51:42 +0000 (08:51 +0000)]
Fix memory leak issues.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-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@13288 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/AcpiTables: Change the ACPI PM Base Adress to 0xb000
jljusten [Fri, 4 May 2012 15:02:33 +0000 (15:02 +0000)]
OvmfPkg/AcpiTables: Change the ACPI PM Base Adress to 0xb000

0xb000 is the address normally used with QEMU.

0x400 also appears to conflict with some debug I/O ports
used by QEMU.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Bei Guan <gbtju85@gmail.com>
Reviewed-by: Bei Guan <gbtju85@gmail.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13279 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg PlatformBdsLib: Set SCI_EN bit of PMCNTRL
jljusten [Fri, 4 May 2012 15:01:56 +0000 (15:01 +0000)]
OvmfPkg PlatformBdsLib: Set SCI_EN bit of PMCNTRL

If the bit is not set, then the only method ACPI defines
for setting it is to use the SMI SCI enable code path.

Since OVMF does not support SMM, we must enable the
bit during boot.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Bei Guan <gbtju85@gmail.com>
Reviewed-by: Bei Guan <gbtju85@gmail.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13278 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/AcpiTables: Set SMI ACPI Enable/Disable fields to 0
jljusten [Fri, 4 May 2012 15:01:39 +0000 (15:01 +0000)]
OvmfPkg/AcpiTables: Set SMI ACPI Enable/Disable fields to 0

OVMF does not support SMM. Previously the port value
was set to 0. This should be enough to disable the
SMM ACPI Enable/Disable code paths, but to be
consistent we'll set these fields to 0 as well.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Bei Guan <gbtju85@gmail.com>
Reviewed-by: Bei Guan <gbtju85@gmail.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13277 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOvmfPkg/AcpiTables: Update GPE0 block address range for QEMU
jljusten [Fri, 4 May 2012 15:01:24 +0000 (15:01 +0000)]
OvmfPkg/AcpiTables: Update GPE0 block address range for QEMU

QEMU hard codes the GPE0 registers at 0xafe0.

Previously the code assumed that the GPE0 block
would move when the PM Base Address of the PIIX4
PCI device was programmed. It appears QEMU does not
emulate this behaviour of the PIIX4 PCI device.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Bei Guan <gbtju85@gmail.com>
Reviewed-by: Bei Guan <gbtju85@gmail.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13276 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoCurrently restoring PCI attributes are put in child uninstall logic, if one child...
li-elvin [Fri, 4 May 2012 12:21:41 +0000 (12:21 +0000)]
Currently restoring PCI attributes are put in child uninstall logic, if one child is uninstalled, PCI attributes are restored, it will bring problem for stopping the next child. we do not restore the PCI attributes until all child handles are uninstalled.

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

11 years agoCorrect an error in Aprint function.
ydong10 [Fri, 4 May 2012 05:59:26 +0000 (05:59 +0000)]
Correct an error in Aprint function.

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

11 years agoUpdate the logic related to get section header offset for TE image.
ydong10 [Fri, 4 May 2012 05:11:07 +0000 (05:11 +0000)]
Update the logic related to get section header offset for TE image.

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

11 years agoEmbeddedPkg/Ebl: Returned an error message when a command is not supported
oliviermartin [Wed, 2 May 2012 20:19:52 +0000 (20:19 +0000)]
EmbeddedPkg/Ebl: Returned an error message when a command is not supported

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

11 years agoArmPlatformPkg: Replaced 'ArmGicSecLib' by 'ArmGicLib'
oliviermartin [Wed, 2 May 2012 20:19:00 +0000 (20:19 +0000)]
ArmPlatformPkg: Replaced 'ArmGicSecLib' by 'ArmGicLib'

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

11 years agoArmPlatformPkg/Bds: Fixed Memory Corruption when updating the path of a Linux initrd
oliviermartin [Wed, 2 May 2012 20:17:36 +0000 (20:17 +0000)]
ArmPlatformPkg/Bds: Fixed Memory Corruption when updating the path of a Linux initrd

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

11 years agoBeagleBoardPkg/b.bat: Updated RVCT toolchain name
oliviermartin [Wed, 2 May 2012 20:16:38 +0000 (20:16 +0000)]
BeagleBoardPkg/b.bat: Updated RVCT toolchain name

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

11 years agoArmPlatformPkg/DebugSecExtraActionLib: Added Warning comment to signal the DRAM must...
oliviermartin [Wed, 2 May 2012 20:15:49 +0000 (20:15 +0000)]
ArmPlatformPkg/DebugSecExtraActionLib: Added Warning comment to signal the DRAM must be inititalized at this stage

Since the System Memory initialization has been moved inside ArmPlatformSecLib
on some platforms, the use of this library could crash if the firmware engineer
forgot to initialize the DRAM.
This library 'patches' the DRAM to add an infinite loop.

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

11 years agoArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15
oliviermartin [Wed, 2 May 2012 20:14:55 +0000 (20:14 +0000)]
ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15

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

11 years agoArmPlatformPkg: Introduced 'ArmPlatformSecLib'
oliviermartin [Wed, 2 May 2012 20:13:32 +0000 (20:13 +0000)]
ArmPlatformPkg: Introduced 'ArmPlatformSecLib'

The function only used in Secure Firmware used to be mixed with
the Non-Secure/Normal functions in ArmPlatformLib.
When the Secure Firmware was not required for some platforms (eg:
BeagleBoard), these functions were empty functions.
This new interface has been created to clean the ArmPlatformLib
interface between the SEC and PEI phases.

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

11 years agoArmPkg/ArmGicLib: Replaced 'ArmGicAcknowledgeSgiFrom' by 'ArmGicAcknowledgeInterrupt'
oliviermartin [Wed, 2 May 2012 20:09:16 +0000 (20:09 +0000)]
ArmPkg/ArmGicLib: Replaced 'ArmGicAcknowledgeSgiFrom' by 'ArmGicAcknowledgeInterrupt'

The function 'ArmGicAcknowledgeSgiFrom' was actually acknowledging Interrupts (and not only SGIs).

ArmPkg/ArmGicLib: Introduced the PCD PcdGicPrimaryCoreId

This PCD defines the Id of the primary core in the GIC.

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

11 years agoArmPkg/ArmGicLib: Changed ArmGicSendSgiTo() to allow to send a specific SGI
oliviermartin [Wed, 2 May 2012 20:08:03 +0000 (20:08 +0000)]
ArmPkg/ArmGicLib: Changed ArmGicSendSgiTo() to allow to send a specific SGI

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

11 years agoArmPkg/ArmLib: Added ARM Cpu IDs
oliviermartin [Wed, 2 May 2012 20:06:36 +0000 (20:06 +0000)]
ArmPkg/ArmLib: Added ARM Cpu IDs

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

11 years agoArmPkg/ArmLib: Fixed MpCore macros
oliviermartin [Wed, 2 May 2012 20:05:36 +0000 (20:05 +0000)]
ArmPkg/ArmLib: Fixed MpCore macros

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

11 years agoEmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port
oliviermartin [Wed, 2 May 2012 20:04:42 +0000 (20:04 +0000)]
EmbeddedPkg/SerialDxe: Do not block UART when no data is available on the port

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

11 years agoArmPlatformPkg/PL35xSmc: Added function PL35xSmcSetRefresh
oliviermartin [Wed, 2 May 2012 20:04:00 +0000 (20:04 +0000)]
ArmPlatformPkg/PL35xSmc: Added function PL35xSmcSetRefresh

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

11 years agoArmPkg/ArmLib: Added new functions to access ARM coprocessors
oliviermartin [Wed, 2 May 2012 20:02:39 +0000 (20:02 +0000)]
ArmPkg/ArmLib: Added new functions to access ARM coprocessors

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

11 years agoARM Packages: Fixed th 'NS' (Non Secure) bit in the MMU page Table Descriptor
oliviermartin [Wed, 2 May 2012 20:00:54 +0000 (20:00 +0000)]
ARM Packages: Fixed th 'NS' (Non Secure) bit in the MMU page Table Descriptor

The 'NS' bit must only be set in Secure world to define the Non-Secure region
of the Non-Secure World.
This bit must not be set in Non-Secure World.

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

11 years agoArmPkg/PeCoffExtraActionLib: Enabled DS-5 command line when using ARM Toolchain v5
oliviermartin [Wed, 2 May 2012 19:58:46 +0000 (19:58 +0000)]
ArmPkg/PeCoffExtraActionLib: Enabled DS-5 command line when using ARM Toolchain v5

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

11 years agoArmPkg/ArmCpuLib: Removed unused files
oliviermartin [Wed, 2 May 2012 19:57:43 +0000 (19:57 +0000)]
ArmPkg/ArmCpuLib: Removed unused files

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

11 years agoArmPkg/ArmCpuLib: Replaced complex functions ArmCpuSynchronizeWait & ArmCpuSynchroniz...
oliviermartin [Wed, 2 May 2012 19:55:32 +0000 (19:55 +0000)]
ArmPkg/ArmCpuLib: Replaced complex functions ArmCpuSynchronizeWait & ArmCpuSynchronizeSignal by sev & wfe

Previsouly the synchronization of MpCore was using the SGI (Software
Generated Interrupt) to synchronize MpCore during the early boot.
This commit replaced this mechanism by the more appropriate SEV/WFE
instructions (Send/Wait Event instructions).
That also eases the port to a new cpu/platform.

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

11 years agoArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed calculation of GlobalVariableBase
oliviermartin [Wed, 2 May 2012 19:54:21 +0000 (19:54 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Fixed calculation of GlobalVariableBase

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

11 years agoArmPlatformPkg: Removed the 'Identify' functions
oliviermartin [Wed, 2 May 2012 19:52:49 +0000 (19:52 +0000)]
ArmPlatformPkg: Removed the 'Identify' functions

This function was introduced in some drivers to check if the ARM controller
was present in the memory map.
It was using a 8 bit access to get the value from the Identification registers.
These accesses could generate access error on some buses. Instead of replacing
the 8bit access by a 32bit access, these fcuntions have been removed because
they are only useful when the boot firmware is ported on a new platform.

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

11 years agoArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalV...
oliviermartin [Wed, 2 May 2012 19:51:08 +0000 (19:51 +0000)]
ArmPlatformPkg/ArmPlatformGlobalVariableLib: Added new function ArmPlatformGetGlobalVariableAddress()

This function returns the address of a Global Variable in the Global Variable Region.

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

11 years agoArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize()
oliviermartin [Wed, 2 May 2012 19:49:35 +0000 (19:49 +0000)]
ArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize()

- ArmPlatformNormalInitialize() has been renamed into ArmPlatformInitialize()
- Make the function be called at the early stage of the PEI phase as some
  platforms require their interconnects or clocks to be initialize before any
  access to Timers or UARTs.

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

11 years agoArmPkg: Replaced gArmTokenSpaceGuid.PcdGicNumInterrupts by ArmGicGetMaxNumInterrupts()
oliviermartin [Wed, 2 May 2012 19:48:00 +0000 (19:48 +0000)]
ArmPkg: Replaced gArmTokenSpaceGuid.PcdGicNumInterrupts by ArmGicGetMaxNumInterrupts()

The maximum number of interrupts can be retrieve through the GIC distributor.

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

11 years agoARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)
oliviermartin [Wed, 2 May 2012 19:46:40 +0000 (19:46 +0000)]
ARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)

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

11 years agoMdeModulePkg: Fix EHCI module build warning reported by VS2005 tool chain.
erictian [Wed, 2 May 2012 06:21:43 +0000 (06:21 +0000)]
MdeModulePkg: Fix EHCI module build warning reported by VS2005 tool chain.

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

11 years agoUefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3...
rsun3 [Wed, 2 May 2012 02:23:18 +0000 (02:23 +0000)]
UefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3 resume.

SMM S3 resume may change memory cache type for flash memory range and thus RestoreS3PageTables() in which loops are executed to create page table would have negative performance impact on S3 resume. Move the call to RestoreS3PageTables() earlier before SMM S3 resume can avoid this issue.

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

11 years agoEmulatorPkg/build.sh: Fix link issue for openSUSE
jljusten [Mon, 30 Apr 2012 23:50:08 +0000 (23:50 +0000)]
EmulatorPkg/build.sh: Fix link issue for openSUSE

Search for libdl to fix a link error on openSUSE 12.1

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13230 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixes issues with "Discard Changes and Exit" option in IPv6 driver's Advance Configur...
tye1 [Sat, 28 Apr 2012 09:43:31 +0000 (09:43 +0000)]
Fixes issues with "Discard Changes and Exit" option in IPv6 driver's Advance Configuration menu.

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

11 years ago Enhances PE image hash algorithm in DxeImageVerificationLib and DxeTpmMeasureBootLib.
tye1 [Sat, 28 Apr 2012 07:48:15 +0000 (07:48 +0000)]
 Enhances PE image hash algorithm in DxeImageVerificationLib and DxeTpmMeasureBootLib.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Dong, Eric <yong.dong@intel.com>
Reviewed by: Dong, Guo <guo.dong@intel.com>

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

11 years agoMdeModulePkg: Enlarge timeout value to wait set_address request success for large...
erictian [Sat, 28 Apr 2012 05:09:21 +0000 (05:09 +0000)]
MdeModulePkg: Enlarge timeout value to wait set_address request success for large capacity usb hard disk

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

11 years agoMdeModulePkg: Skip to manage usb debug port in EDKII EHCI driver if it's used by...
erictian [Sat, 28 Apr 2012 05:02:54 +0000 (05:02 +0000)]
MdeModulePkg: Skip to manage usb debug port in EDKII EHCI driver if it's used by usb debug port driver

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

11 years agoEnhance the error handling for AllocatePool and AllocatePages function.
ydong10 [Fri, 27 Apr 2012 02:48:46 +0000 (02:48 +0000)]
Enhance the error handling for AllocatePool and AllocatePages function.

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

11 years agoEnable print error info when execute the application.
ydong10 [Fri, 27 Apr 2012 01:47:35 +0000 (01:47 +0000)]
Enable print error info when execute the application.

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

11 years agoUpdate comments in DmpStore.c to be more suitable.
lzeng14 [Fri, 27 Apr 2012 01:18:41 +0000 (01:18 +0000)]
Update comments in DmpStore.c to be more suitable.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13223 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoReturn EFI_INVALID_PARAMETER when Type has either EVT_NOTIFY_SIGNAL or EVT_NOTIFY_WAI...
lzeng14 [Thu, 26 Apr 2012 03:32:53 +0000 (03:32 +0000)]
Return EFI_INVALID_PARAMETER when Type has either EVT_NOTIFY_SIGNAL or EVT_NOTIFY_WAIT set and NotifyTpl is not a supported TPL level.

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

11 years agoEnhance code to more safely and follow coding style.
ydong10 [Thu, 26 Apr 2012 02:00:30 +0000 (02:00 +0000)]
Enhance code to more safely and follow coding style.

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

11 years agoPatch include:
ydong10 [Thu, 26 Apr 2012 01:50:34 +0000 (01:50 +0000)]
Patch include:
1.Change function name to avoid name conflict.
2.Refine check for Pe Image.

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

11 years agoAdd description for PeiPerformanceIdArray parameter of InternalSearchForLogEntry().
lzeng14 [Wed, 25 Apr 2012 10:12:09 +0000 (10:12 +0000)]
Add description for PeiPerformanceIdArray parameter of InternalSearchForLogEntry().

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

11 years agoFix UNIX GCC build fail.
lzeng14 [Wed, 25 Apr 2012 08:09:36 +0000 (08:09 +0000)]
Fix UNIX GCC 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@13218 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix typo "Debugt".
vanjeff [Wed, 25 Apr 2012 08:03:26 +0000 (08:03 +0000)]
Fix typo "Debugt".

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

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 09:15:10 +0000 (09:15 +0000)]
Add new extension PerformanceLib APIs to store ID info.

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

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 09:12:36 +0000 (09:12 +0000)]
Add new extension PerformanceLib APIs to store ID info.

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

11 years agoAdd new extension PerformanceLib APIs to store ID info.
lzeng14 [Tue, 24 Apr 2012 08:42:24 +0000 (08:42 +0000)]
Add new extension PerformanceLib APIs to store ID info.

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

11 years agoUpdate copyright format
hhtian [Tue, 24 Apr 2012 06:49:39 +0000 (06:49 +0000)]
Update copyright format

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

11 years agoFix build fail for DDK.
ydong10 [Tue, 24 Apr 2012 06:08:47 +0000 (06:08 +0000)]
Fix build fail for DDK.

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

11 years agoValidate some fields in PE image to make sure not access violation for later code.
ydong10 [Tue, 24 Apr 2012 03:00:32 +0000 (03:00 +0000)]
Validate some fields in PE image to make sure not access violation for later code.

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

11 years agoUpdate IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI...
lzeng14 [Tue, 24 Apr 2012 02:41:33 +0000 (02:41 +0000)]
Update IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI spec.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13210 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate HiiFont Service to return error status instead of ASSERT for the invalid input.
lgao4 [Tue, 24 Apr 2012 01:59:55 +0000 (01:59 +0000)]
Update HiiFont Service to return error status instead of ASSERT for the invalid input.

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

11 years agoMdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct...
rsun3 [Tue, 24 Apr 2012 01:38:40 +0000 (01:38 +0000)]
MdeModulePkg PiSmmCore: Fix a bug in SmmLoadImage() in PiSmmCore that in-correct status codes may be returned.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13208 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoShellPkg: hide flashing cursor during startup.
jcarsey [Mon, 23 Apr 2012 18:00:41 +0000 (18:00 +0000)]
ShellPkg: hide flashing cursor during startup.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

11 years agoShellPkg: removed memory leak.
jcarsey [Mon, 23 Apr 2012 17:58:15 +0000 (17:58 +0000)]
ShellPkg: removed memory leak.

removed unnecessary GetVariable call.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

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

11 years agoRefine the code to have same function to process the string info. Also update the...
ydong10 [Mon, 23 Apr 2012 10:26:04 +0000 (10:26 +0000)]
Refine the code to have same function to process the string info. Also update the logic to process special char.

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

11 years agoFix common AuthVariable protection issue.
tye1 [Mon, 23 Apr 2012 06:17:17 +0000 (06:17 +0000)]
Fix common AuthVariable protection issue.

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

12 years agoAdd code to check boot option variable before use it
ydong10 [Thu, 19 Apr 2012 09:57:11 +0000 (09:57 +0000)]
Add code to check boot option variable before use it

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

12 years agoUpdate comments for NULL PlatformSecureLib instance.
sfu5 [Wed, 18 Apr 2012 02:02:38 +0000 (02:02 +0000)]
Update comments for NULL PlatformSecureLib instance.

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

12 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:59 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

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

12 years agoUpdate function comments to remove confused description on PerformanceLib EndPerforma...
lgao4 [Tue, 17 Apr 2012 09:45:30 +0000 (09:45 +0000)]
Update function comments to remove confused description on PerformanceLib EndPerformanceMeasurement API.

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

12 years agoCorrect function comments on DxeServicesLib GetFileBufferByFilePath API.
lgao4 [Tue, 17 Apr 2012 09:42:44 +0000 (09:42 +0000)]
Correct function comments on DxeServicesLib GetFileBufferByFilePath API.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13199 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC
jyao1 [Mon, 16 Apr 2012 22:51:06 +0000 (22:51 +0000)]
Add 3 missing fields for EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC

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

12 years agoAppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python...
darylm503 [Mon, 16 Apr 2012 22:12:42 +0000 (22:12 +0000)]
AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python 2.7.3 made them unavailable from the python.org web site.

These files are a subset of the python-2.7.2.tgz distribution from python.org.  Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution.

Signed-off-by: daryl.mcdaniel@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd missing secure boot build option
hhtian [Mon, 16 Apr 2012 01:31:17 +0000 (01:31 +0000)]
Add missing secure boot build option

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

12 years agoArmPlatformPkg: Fixed build after latest BaseTools syncup
oliviermartin [Fri, 13 Apr 2012 10:17:39 +0000 (10:17 +0000)]
ArmPlatformPkg: Fixed build after latest BaseTools syncup

BaseTools now raises an error when a PCD is not declared in a DEC.
This change:
- Remove undeclared PCDs
- Add PCD declaration to DEC file

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

12 years agoEDK II Packages: Added License.txt files
oliviermartin [Thu, 12 Apr 2012 16:40:32 +0000 (16:40 +0000)]
EDK II Packages: Added License.txt files

License.txt is a per-project document showing the license terms
used by that project.

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

12 years agoRemoves irrelevant parameter during negotiation to avoid login fail.
tye1 [Thu, 12 Apr 2012 09:54:59 +0000 (09:54 +0000)]
Removes irrelevant parameter during negotiation to avoid login fail.

Signed-off-by: Ye Ting<ting.ye@intel.com>
Reviewed by: Ouyang, Qian <qian.ouyang@intel.com>
Reviewed by: Tian, Feng<feng.tian@intel.com>

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

12 years agoAdd check before using it to avoid access violation.
ydong10 [Thu, 12 Apr 2012 09:02:52 +0000 (09:02 +0000)]
Add check before using it to avoid access violation.

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

12 years agoUpdate the default return value of UserPhysicalPresent to TRUE.
sfu5 [Thu, 12 Apr 2012 07:19:46 +0000 (07:19 +0000)]
Update the default return value of UserPhysicalPresent to TRUE.

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

12 years agoKeep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardError...
li-elvin [Thu, 12 Apr 2012 02:16:47 +0000 (02:16 +0000)]
Keep StdErr same logic initialization with ConOut, e.g. initialize gST->StandardErrorHandle and gST->StdErr in Consplitter entrypoint.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13190 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagemen...
rsun3 [Thu, 12 Apr 2012 01:49:27 +0000 (01:49 +0000)]
MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved.

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

12 years agoFatBinPkg/License.txt: Sync with License.txt in FatPkg
jljusten [Wed, 11 Apr 2012 23:19:56 +0000 (23:19 +0000)]
FatBinPkg/License.txt: Sync with License.txt in FatPkg

The License.txt file in FatPkg was changed to add UEFI.
This change syncronizes the License.txt file from FatPkg
into FatBinPkg.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13188 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoEDK II Packages: Add Contributions.txt and License.txt files
jljusten [Wed, 11 Apr 2012 23:19:46 +0000 (23:19 +0000)]
EDK II Packages: Add Contributions.txt and License.txt files

Contributions.txt documents the contribution process for all
tianocore projects. The conents of Contributions.txt should
match in all cases.

License.txt is a per-project document showing the license terms
used by that project.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoNt32Pkg: Add Secure Boot build option including Custom Mode setup
leegrosenbaum [Wed, 11 Apr 2012 16:23:41 +0000 (16:23 +0000)]
Nt32Pkg: Add Secure Boot build option including Custom Mode setup

If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup.
This allows Secure Boot to be configured through setup allowing Nt32Pkg to be a fully functional Secure Boot reference platforms.

Signed-off-by: lee.g.rosenbaum@intel.com
Reviewed-by: jiewen.yao@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13186 6f19259b-4bc3-4df7-8a09-765794883524