]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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